Teemu Ollakka
a2575a0703
MDEV-35465 Async replication stops working on Galera async replica node when parallel replication is enabled
...
Parallel slave failed to retry in retry_event_group() with error
WSREP: Parallel slave worker failed at wsrep_before_command() hook
Fix wsrep transaction cleanup/restart in retry_event_group() to properly
clean up previous transaction by calling wsrep_after_statement().
Also move call to reset error after call to wsrep_after_statement()
to make sure that it remains effective.
Add a MTR test galera_as_slave_parallel_retry to reproduce the error
when the fix is not present.
Other issues which were detected when testing with sysbench:
Check if parallel slave is killed for retry before waiting for prior
commits in THD::wsrep_parallel_slave_wait_for_prior_commit(). This
is required with slave-parallel-mode=optimistic to avoid deadlock
when a slave later in commit order manages to reach prepare phase
before a lock conflict is detected.
Suppress wsrep applier specific warning for slave threads.
Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com >
2024-12-03 15:05:32 +01:00
..
2023-09-29 12:54:04 +02:00
2022-09-13 16:36:38 +03:00
2024-10-22 09:23:56 +02:00
2024-07-08 23:36:21 +02:00
2024-07-08 23:36:21 +02:00
2022-09-13 16:36:38 +03:00
2023-12-12 05:55:34 +01:00
2024-06-06 19:19:34 +02:00
2024-12-03 15:05:32 +01:00
2023-09-28 19:28:25 +02:00
2023-01-27 08:38:27 +02:00
2023-06-03 10:39:34 +02:00
2024-07-08 23:36:21 +02:00
2024-09-30 00:33:23 +02:00
2024-09-30 00:33:23 +02:00
2023-12-05 12:25:32 +01:00
2022-05-18 01:25:30 +02:00
2023-09-26 08:24:39 +02:00
2022-09-15 07:44:35 +04:00
2024-12-03 03:19:35 +01:00
2022-09-13 16:36:38 +03:00
2024-06-03 09:48:13 +02:00
2022-09-14 08:00:56 +04:00
2022-09-13 16:36:38 +03:00
2024-07-08 23:36:21 +02:00
2024-07-08 23:36:21 +02:00
2024-07-08 23:36:21 +02:00
2024-07-08 23:36:21 +02:00
2024-10-01 09:41:56 +05:30
2024-07-08 23:36:21 +02:00
2023-10-26 22:13:54 +02:00
2024-07-08 23:36:21 +02:00
2023-01-17 14:08:41 +02:00
2024-07-08 23:36:21 +02:00
2024-11-06 04:59:10 +01:00
2024-11-06 04:59:10 +01:00
2024-11-06 04:59:10 +01:00
2024-11-06 04:59:10 +01:00
2023-12-07 04:57:21 +01:00
2022-06-21 05:34:37 +02:00
2022-06-21 05:34:37 +02:00
2022-06-21 05:34:37 +02:00
2022-06-21 05:34:37 +02:00
2024-07-08 23:36:21 +02:00
2023-12-07 04:57:21 +01:00
2024-06-24 12:08:13 +03:00
2024-06-24 12:08:13 +03:00
2024-07-08 23:36:21 +02:00
2023-05-22 00:39:43 +02:00
2024-11-06 04:59:10 +01:00
2024-05-06 17:16:10 +02:00
2023-05-03 04:25:22 +02:00
2023-05-03 04:25:22 +02:00
2023-05-03 04:25:22 +02:00
2023-05-03 04:25:22 +02:00
2022-10-25 12:58:10 +03:00
2022-05-16 12:17:13 +03:00
2023-01-13 13:11:03 +02:00
2024-01-30 00:27:37 +01:00
2024-01-29 06:34:46 +01:00
2024-06-07 18:26:08 +02:00
2024-07-08 23:36:21 +02:00
2024-11-06 04:59:10 +01:00
2022-05-17 10:28:21 +03:00
2022-10-09 10:09:47 +03:00
2024-07-08 23:36:21 +02:00
2024-07-08 23:36:21 +02:00
2023-08-08 03:25:56 +02:00
2022-10-01 23:07:26 +02:00
2022-10-06 13:08:20 +03:00
2023-01-13 13:11:03 +02:00
2022-09-14 08:00:56 +04:00
2024-01-29 06:34:46 +01:00
2023-10-21 10:11:16 +02:00
2024-01-30 00:22:23 +01:00
2023-09-28 19:28:25 +02:00
2024-07-08 23:36:21 +02:00
2024-07-08 23:36:21 +02:00
2024-07-08 23:36:21 +02:00
2024-07-08 23:36:21 +02:00
2022-10-06 13:08:20 +03:00
2024-11-06 04:59:10 +01:00
2024-04-04 17:12:09 +03:00
2023-05-31 12:35:29 +02:00
2024-07-08 23:36:21 +02:00
2022-09-13 16:36:38 +03:00
2022-09-13 16:36:38 +03:00
2022-09-13 16:36:38 +03:00
2022-11-30 13:10:52 +02:00
2024-11-06 04:59:10 +01:00
2024-11-28 01:02:35 +01:00
2022-09-13 16:36:38 +03:00
2022-10-09 10:09:47 +03:00
2022-10-11 08:37:13 +02:00
2023-05-02 03:42:17 +02:00
2024-07-08 23:36:21 +02:00
2024-07-08 23:36:21 +02:00
2024-09-01 02:58:34 +02:00
2024-07-08 23:36:21 +02:00
2024-10-23 03:47:08 +02:00
2024-12-03 03:19:35 +01:00
2023-01-09 18:06:05 +01:00
2024-07-08 23:36:21 +02:00
2024-11-28 01:02:35 +01:00
2024-07-08 23:36:21 +02:00
2024-07-08 23:36:21 +02:00
2024-09-15 05:05:03 +02:00
2022-09-13 16:36:38 +03:00
2022-09-13 16:36:38 +03:00
2022-10-06 13:08:20 +03:00
2022-09-13 16:36:38 +03:00
2024-11-06 04:59:10 +01:00
2024-08-04 17:56:39 +02:00
2023-04-11 09:07:33 +02:00
2024-07-08 23:36:21 +02:00
2023-05-16 13:11:44 +02:00
2024-01-29 06:34:46 +01:00
2024-07-08 23:36:21 +02:00
2024-11-06 04:59:10 +01:00
2024-09-26 00:04:56 +02:00
2023-05-11 14:34:03 +02:00
2024-07-08 23:36:21 +02:00
2024-01-30 15:47:47 +01:00
2024-01-29 06:34:46 +01:00
2022-11-30 13:10:52 +02:00
2022-09-14 08:00:56 +04:00
2024-01-29 06:34:46 +01:00
2024-03-27 04:31:45 +01:00
2024-07-08 23:36:21 +02:00
2022-10-11 16:20:22 +02:00
2022-10-09 10:09:47 +03:00
2024-04-26 20:21:44 +02:00
2024-11-06 04:59:10 +01:00
2023-05-11 14:34:03 +02:00
2022-05-16 12:17:13 +03:00
2024-07-08 23:36:21 +02:00
2023-05-22 00:39:43 +02:00
2022-11-30 13:10:52 +02:00
2023-04-19 14:08:57 +02:00
2023-04-18 13:57:59 +02:00
2023-12-20 12:31:17 +01:00
2023-12-22 04:49:57 +01:00
2024-07-08 23:36:21 +02:00
2023-12-05 12:25:32 +01:00
2024-09-01 16:19:59 +02:00
2024-06-06 19:19:34 +02:00
2024-04-09 12:21:53 +02:00
2024-08-12 23:54:30 +02:00
2024-08-04 17:56:39 +02:00
2024-12-03 14:55:09 +01:00
2024-07-08 23:36:21 +02:00
2024-07-08 23:36:21 +02:00
2024-01-30 00:22:42 +01:00
2024-04-26 20:21:44 +02:00
2024-04-26 20:21:44 +02:00
2024-07-08 23:36:21 +02:00
2024-04-26 20:21:44 +02:00
2022-12-07 07:33:51 +02:00
2022-10-01 23:07:26 +02:00
2024-02-01 18:28:32 +04:00
2024-07-08 23:36:21 +02:00
2022-09-15 07:44:35 +04:00