1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00
Files
mariadb/sql
Kristian Nielsen 1cbba45e6e Attempt to fix rare race in test for MDEV-8031
The error-injection inject_mdev8031 simulates a deadlock kill in a specific
place, by setting killed_for_retry to RETRY_KILL_KILLED directly. If a real
deadlock kill triggers at the same time, it is possible for the thread to
complete its transaction retry and set rgi_slave to NULL before the real
readlock kill can complete in the background. This will cause a segfault
due to null-pointer access.

Fix by changing the error injection to do a real background deadlock kill,
which ensures that the thread will wait for any pending background kills to
complete.

Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
2023-12-19 12:08:53 +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
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-06-21 12:38:25 +03:00
2020-07-14 22:59:19 +03:00
2021-03-31 09:47:14 +03:00
2020-10-29 13:38:38 +02:00
2021-10-13 12:03:32 +03:00
2020-07-31 18:09:08 +03:00
2020-11-03 14:49:17 +02:00
2023-10-17 14:32:05 +02:00
2020-11-02 15:48:47 +02:00
2021-04-21 07:25:48 +03:00
2020-11-03 14:49:17 +02:00
2022-06-09 11:53:46 +03:00
2021-03-20 13:04:36 +02:00
2022-02-10 20:23:56 +01:00
2020-08-10 18:40:57 +03:00
2020-09-03 09:26:54 +03:00
2021-10-21 14:57:00 +03:00
2021-07-31 22:59:58 +02:00
2023-05-02 10:09:27 +02:00
2022-05-03 10:59:54 +02:00
2023-11-25 10:33:31 +01:00
2022-10-05 10:09:49 +03:00
2021-08-11 23:00:37 +04:00
2022-11-27 05:11:39 +10:00
2023-01-28 18:22:55 +01:00
2021-06-30 18:41:46 +03:00
2022-05-08 23:03:08 +02:00
2020-12-25 09:13:28 +01:00
2023-01-28 18:22:55 +01:00
2021-03-05 10:36:51 +02:00
2021-02-23 09:25:57 +01:00
2022-10-25 10:04:37 +03:00
2020-07-31 18:09:08 +03:00
2022-09-23 13:47:15 +03:00
2020-10-22 13:27:18 +03:00
2022-03-29 11:13:18 +03:00
2023-01-03 16:10:02 +02:00
2020-07-15 09:49:48 +02:00
2020-11-11 07:37:05 +02:00
2022-06-27 10:14:37 +03:00
2020-08-26 11:30:20 +03:00