mkaruza
ebbd5ef6e2
MDEV-27862 Galera should replicate nextval()-related changes in sequences with INCREMENT <> 0, at least NOCACHE ones with engine=InnoDB
...
Sequence storage engine is not transactionl so cache will be written in
stmt_cache that is not replicated in cluster. To fix this replicate
what is available in both trans_cache and stmt_cache.
Sequences will only work when NOCACHE keyword is used when sequnce is
created. If WSREP is enabled and we don't have this keyword report error
indicting that sequence will not work correctly in cluster.
When binlog is enabled statement cache will be cleared in transaction
before COMMIT so cache generated from sequence will not be replicated.
We need to keep cache until replication.
Tests are re-recorded because of replication changes that were
introducted with this PR.
Reviewed-by: Jan Lindström <jan.lindstrom@mariadb.com >
2022-05-30 12:43:52 +03:00
..
2022-04-26 13:31:41 +10:00
2021-07-27 08:11:41 +03:00
2022-02-22 20:53:23 +01:00
2020-08-03 14:44:06 +02:00
2021-04-20 12:30:09 +03:00
2022-03-23 10:47:27 +11:00
2021-02-01 13:49:33 +01:00
2020-09-03 09:26:54 +03:00
2020-09-28 15:16:28 -07:00
2020-08-03 13:41:29 +02:00
2020-08-03 14:44:06 +02:00
2021-04-22 07:51:33 +03:00
2021-04-22 07:51:33 +03:00
2022-04-18 12:44:27 +03:00
2020-08-03 14:44:06 +02:00
2021-04-22 07:32:51 +03:00
2021-06-21 12:38:25 +03:00
2022-04-04 16:14:22 +03:00
2020-04-02 00:57:00 +04:00
2020-08-03 14:44:06 +02:00
2022-05-08 23:03:08 +02:00
2022-05-03 10:59:54 +02:00
2020-07-14 22:59:19 +03:00
2021-08-18 16:51:52 +03:00
2020-08-03 13:41:29 +02:00
2020-08-02 11:05:29 +02:00
2022-05-15 20:37:51 +02:00
2022-05-15 20:37:51 +02:00
2021-04-22 15:51:55 +02:00
2022-05-08 23:03:08 +02:00
2022-05-18 01:25:30 +02:00
2022-05-30 12:43:52 +03:00
2020-10-28 14:24:10 +01:00
2022-05-08 23:03:08 +02:00
2022-05-15 20:37:51 +02:00
2021-04-20 12:30:09 +03:00
2022-04-22 18:05:30 +03:00
2022-03-29 11:13:18 +03:00
2022-04-06 08:59:09 +03:00
2022-04-06 08:59:09 +03:00
2022-05-08 23:03:08 +02:00
2020-08-22 07:53:44 +04:00
2021-03-31 09:47:14 +03:00
2021-03-31 09:47:14 +03:00
2020-08-03 14:44:06 +02:00
2021-10-21 14:57:00 +03:00
2021-08-05 12:21:59 +09:00
2020-03-30 14:50:23 +03:00
2022-01-30 09:46:52 +01:00
2022-01-30 09:46:52 +01:00
2022-05-08 23:03:08 +02:00
2021-04-14 10:33:59 +03:00
2022-05-08 23:03:08 +02:00
2020-08-03 14:44:06 +02:00
2021-10-28 08:28:39 +03:00
2020-10-29 13:38:38 +02:00
2021-10-13 12:03:32 +03:00
2021-05-05 23:03:01 +03:00
2022-02-10 20:39:13 +01:00
2020-07-31 18:09:08 +03:00
2020-08-03 14:44:06 +02:00
2022-05-09 12:21:02 +02:00
2022-05-09 12:21:02 +02:00
2021-07-21 20:11:07 +02:00
2020-11-03 14:49:17 +02:00
2021-06-30 18:41:46 +03:00
2021-05-21 10:35:17 +03:00
2020-08-31 18:45:14 +03:00
2022-01-30 09:46:52 +01:00
2021-05-05 23:03:01 +03:00
2022-05-30 12:43:52 +03:00
2022-05-30 12:43:52 +03:00
2021-11-24 09:55:29 +02:00
2021-06-09 18:36:43 +02:00
2020-11-02 15:48:47 +02:00
2021-04-21 07:25:48 +03:00
2020-03-17 02:16:48 +02:00
2020-11-03 14:49:17 +02:00
2021-11-09 12:06:49 +02:00
2021-11-19 01:55:23 +02:00
2020-07-02 06:17:51 +03:00
2021-12-25 12:13:03 +01:00
2022-05-15 20:37:51 +02:00
2021-09-24 16:21:20 +03:00
2020-09-03 09:26:54 +03:00
2020-05-30 11:04:27 +03:00
2022-01-30 09:46:52 +01:00
2020-05-30 11:04:27 +03:00
2022-01-30 09:46:52 +01:00
2022-01-30 09:46:52 +01:00
2021-03-20 13:04:36 +02:00
2020-04-02 11:50:47 +03:00
2022-01-29 15:41:05 +01:00
2022-05-18 01:22:29 +02:00
2022-05-08 23:03:08 +02:00
2022-01-30 09:46:52 +01:00
2022-02-10 20:23:56 +01:00
2020-08-10 18:40:57 +03:00
2022-01-05 16:52:39 +02:00
2020-04-02 11:50:47 +03:00
2020-09-03 09:26:54 +03:00
2021-09-09 09:23:35 +03:00
2022-05-08 23:03:08 +02:00
2020-12-01 14:55:46 +02:00
2021-10-21 14:57:00 +03:00
2021-10-21 14:57:00 +03:00
2021-05-18 08:40:19 +03:00
2021-05-18 08:40:19 +03:00
2020-04-24 13:12:46 +03:00
2022-03-29 11:13:18 +03:00
2020-11-12 15:39:02 +05:30
2020-03-26 15:01:44 +03:00
2021-04-27 08:53:50 +03:00
2022-04-22 12:59:54 -06:00
2022-04-22 12:59:54 -06:00
2022-04-22 12:59:54 -06:00
2022-04-22 12:59:54 -06:00
2021-12-17 09:38:23 +02:00
2020-10-29 13:38:38 +02:00
2021-07-31 22:59:58 +02:00
2021-07-31 22:59:58 +02:00
2021-07-24 12:37:50 +02:00
2022-05-18 01:25:30 +02:00
2022-05-03 10:59:54 +02:00
2022-05-08 23:03:08 +02:00
2022-01-14 06:18:13 +04:00
2021-09-30 08:18:32 +03:00
2021-06-30 15:06:54 +03:00
2021-03-31 08:01:03 +03:00
2022-01-17 18:19:29 +01:00
2020-09-24 13:58:29 +10:00
2022-01-19 15:32:42 +02:00
2021-11-09 08:40:14 +02:00
2021-11-02 04:52:03 +03:00
2021-08-11 23:00:37 +04:00
2022-05-08 23:03:08 +02:00
2021-07-16 13:31:19 +03:00
2020-05-19 21:18:15 +03:00
2021-06-10 11:43:28 +02:00
2021-11-09 17:04:49 +02:00
2020-12-25 09:13:28 +01:00
2020-12-23 19:28:02 +01:00
2022-05-08 23:03:08 +02:00
2022-05-15 20:37:51 +02:00
2020-09-24 13:58:29 +10:00
2021-07-24 15:08:08 +02:00
2021-07-24 15:08:08 +02:00
2021-11-17 13:59:42 +02:00
2021-07-31 22:59:58 +02:00
2022-04-13 15:37:46 +02:00
2021-10-28 12:01:25 +02:00
2022-03-15 08:10:35 +02:00
2021-06-30 18:41:46 +03:00
2021-06-30 18:41:46 +03:00
2022-04-21 11:33:59 +03:00
2021-10-13 12:03:32 +03:00
2022-05-03 10:59:54 +02:00
2022-04-28 11:20:12 +03:00
2022-05-08 23:03:08 +02:00
2020-12-25 09:13:28 +01:00
2022-05-08 23:03:08 +02:00
2021-03-27 17:12:28 +02:00
2021-03-18 12:34:48 +02:00
2022-05-18 01:25:30 +02:00
2022-05-15 20:37:51 +02:00
2020-07-03 20:26:09 +03:00
2022-01-29 15:41:05 +01:00
2022-04-25 08:07:17 -06:00
2021-01-24 11:35:55 +01:00
2022-05-17 10:28:21 +03:00
2021-03-05 10:36:51 +02:00
2022-05-23 08:07:03 +03:00
2022-04-21 11:33:59 +03:00
2022-01-30 09:46:52 +01:00
2022-05-08 23:03:08 +02:00
2021-02-12 17:44:22 +01:00
2022-03-18 08:30:26 +02:00
2021-10-28 12:01:25 +02:00
2021-04-15 08:50:01 +03:00
2021-10-29 09:52:52 +03:00
2021-02-12 17:44:22 +01:00
2020-08-01 07:43:50 +04:00
2020-08-01 07:43:50 +04:00
2022-05-18 01:25:30 +02:00
2022-05-08 23:03:08 +02:00
2022-05-30 12:43:52 +03:00
2021-04-20 12:30:09 +03:00
2022-05-08 23:03:08 +02:00
2021-02-12 18:17:07 +01:00
2021-02-23 09:25:57 +01:00
2021-02-23 09:25:57 +01:00
2021-10-28 08:28:39 +03:00
2020-11-30 17:16:43 +05:30
2022-05-08 23:03:08 +02:00
2021-04-07 12:09:53 +04:00
2021-04-20 12:30:09 +03:00
2020-08-13 18:18:25 +03:00
2020-07-31 18:09:08 +03:00
2022-03-30 15:13:01 +05:30
2021-09-17 07:18:37 +03:00
2022-04-26 13:02:15 +05:30
2020-03-20 22:06:55 +02:00
2022-05-08 23:03:08 +02:00
2021-07-31 22:59:58 +02:00
2021-05-05 23:03:01 +03:00
2020-10-22 13:27:18 +03:00
2021-07-31 22:59:58 +02:00
2022-05-23 08:07:03 +03:00
2022-03-29 11:13:18 +03:00
2022-05-07 11:48:15 +02:00
2022-05-07 11:48:15 +02:00
2022-05-08 23:03:08 +02:00
2022-05-16 20:18:18 +02:00
2021-04-20 12:30:09 +03:00
2022-04-21 11:33:59 +03:00
2022-03-16 16:39:10 +11:00
2022-01-30 09:46:52 +01:00
2020-03-21 18:37:19 +04:00
2020-03-21 18:37:19 +04:00
2022-05-08 23:03:08 +02:00
2022-04-21 11:33:59 +03:00
2022-03-29 11:13:18 +03:00
2021-07-24 15:08:08 +02:00
2021-10-28 13:57:15 +02:00
2020-03-27 11:41:46 +04:00
2020-07-31 18:09:08 +03:00
2021-07-02 11:48:51 +03:00
2022-05-08 23:03:08 +02:00
2020-06-13 15:11:43 +03:00
2020-06-12 10:55:53 +03:00
2022-03-29 11:13:18 +03:00
2022-03-16 16:39:10 +11:00
2021-02-01 13:49:33 +01:00
2021-04-22 15:51:55 +02:00
2020-07-15 09:49:48 +02:00
2020-12-01 14:55:46 +02:00
2022-05-30 12:43:52 +03:00
2020-03-31 09:59:37 +03:00
2021-02-14 23:18:42 +01:00
2022-05-30 12:43:52 +03:00
2020-11-11 07:37:05 +02:00
2022-02-23 07:18:00 +02:00
2021-12-17 09:38:23 +02:00
2022-03-18 08:30:26 +02:00
2022-02-23 07:18:00 +02:00
2022-05-30 12:43:46 +03:00
2022-03-18 08:30:26 +02:00
2021-02-19 00:19:42 +01:00
2021-01-21 11:41:29 +02:00
2022-01-24 09:46:21 +02:00
2021-10-29 09:52:40 +03:00
2022-02-23 07:18:00 +02:00
2022-04-21 11:33:59 +03:00
2020-08-26 11:30:20 +03:00
2020-12-02 16:16:29 +02:00
2022-01-29 15:41:05 +01:00
2021-12-17 09:38:23 +02:00
2022-05-16 12:17:13 +03:00
2020-08-26 11:30:20 +03:00
2022-04-21 11:33:59 +03:00
2021-08-25 17:35:44 +03:00
2021-04-05 09:10:23 +03:00
2020-12-02 16:16:29 +02:00