Kristian Nielsen
900c4d6920
MDEV-31655: Parallel replication deadlock victim preference code errorneously removed
...
Restore code to make InnoDB choose the second transaction as a deadlock
victim if two transactions deadlock that need to commit in-order for
parallel replication. This code was erroneously removed when VATS was
implemented in InnoDB.
Also add a test case for InnoDB choosing the right deadlock victim.
Also fixes this bug, with testcase that reliably reproduces:
MDEV-28776: rpl.rpl_mark_optimize_tbl_ddl fails with timeout on sync_with_master
Note: This should be null-merged to 10.6, as a different fix is needed
there due to InnoDB locking code changes.
Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org >
2023-08-15 16:35:30 +02:00
..
2016-12-06 09:45:51 +01:00
2018-03-29 13:59:44 +03:00
2020-01-24 14:50:23 +01:00
2018-03-29 13:59:44 +03:00
2020-01-15 18:06:24 +01:00
2018-03-29 13:59:44 +03:00
2019-10-08 14:35:34 +05:30
2019-10-08 14:35:34 +05:30
2018-03-29 13:59:44 +03:00
2017-01-23 01:06:15 +02:00
2020-08-31 18:38:57 +03:00
2018-03-29 13:59:44 +03:00
2022-07-27 11:02:57 +02:00
2021-03-08 15:00:45 +01:00
2021-02-22 19:43:08 +01:00
2021-02-22 19:43:08 +01:00
2016-12-06 09:45:51 +01:00
2017-03-31 19:28:58 +02:00
2023-04-24 15:07:15 -06:00
2023-04-24 15:07:15 -06:00
2023-04-24 15:07:15 -06:00
2023-04-24 15:07:15 -06:00
2023-04-24 15:07:15 -06:00
2023-04-24 15:07:15 -06:00
2017-03-31 19:28:58 +02:00
2021-07-24 21:32:52 +03:00
2017-03-31 19:28:58 +02:00
2018-05-29 17:14:34 +03:00
2017-03-31 19:28:58 +02:00
2017-03-31 19:28:58 +02:00
2019-07-30 21:57:48 +04:00
2018-03-29 13:59:44 +03:00
2017-01-23 01:06:15 +02:00
2019-10-08 14:35:34 +05:30
2019-10-08 14:35:34 +05:30
2020-08-21 14:48:53 +03:00
2020-05-20 21:02:39 +05:30
2023-03-23 21:07:32 +03:00
2016-12-29 13:23:18 +01:00
2023-03-23 21:07:32 +03:00
2023-03-23 21:07:32 +03:00
2020-01-15 18:06:24 +01:00
2023-03-23 21:07:32 +03:00
2020-03-23 10:57:21 +01:00
2023-03-23 21:07:32 +03:00
2017-01-23 01:06:15 +02:00
2023-07-30 22:00:43 +02:00
2023-03-23 21:07:32 +03:00
2020-01-15 18:06:24 +01:00
2023-03-23 21:07:32 +03:00
2020-01-15 18:06:24 +01:00
2023-03-23 21:07:32 +03:00
2016-12-29 13:23:18 +01:00
2023-03-23 21:07:32 +03:00
2018-10-31 16:06:16 +01:00
2023-03-23 21:07:32 +03:00
2022-07-25 16:26:53 -06:00
2018-03-29 13:59:44 +03:00
2016-12-29 13:23:18 +01:00
2023-03-23 21:07:32 +03:00
2020-01-21 11:22:47 +01:00
2023-03-23 21:07:32 +03:00
2016-12-29 13:23:18 +01:00
2023-03-23 21:07:32 +03:00
2023-08-15 16:35:30 +02:00
2023-03-23 21:07:32 +03:00
2016-12-29 13:23:18 +01:00
2023-03-23 21:07:32 +03:00
2020-12-23 19:28:02 +01:00
2023-03-23 21:07:32 +03:00
2016-12-29 13:23:18 +01:00
2023-03-23 21:07:32 +03:00
2018-10-31 16:06:16 +01:00
2023-03-23 21:07:32 +03:00
2016-12-29 13:23:18 +01:00
2023-03-23 21:07:32 +03:00
2022-04-28 13:21:04 +02:00
2023-03-23 21:07:32 +03:00
2018-10-31 16:06:16 +01:00
2023-03-23 21:07:32 +03:00
2018-11-08 09:31:46 +04:00
2023-03-23 21:07:32 +03:00
2017-06-02 09:36:14 +03:00
2018-10-31 16:06:16 +01:00
2023-03-23 21:07:32 +03:00
2016-12-29 13:23:18 +01:00
2023-03-23 21:07:32 +03:00
2016-12-29 13:23:18 +01:00
2023-03-23 21:07:32 +03:00
2016-12-29 13:23:18 +01:00
2023-03-23 21:07:32 +03:00
2018-10-17 19:37:05 +03:00
2023-03-23 21:07:32 +03:00
2016-12-29 13:23:18 +01:00