mariadb/mysql-test/suite
Kristian Nielsen 53468695ad MDEV-38776 [ERROR] Slave worker thread retried transaction 10 time(s) in vain, giving up
Partially revert this commit:

commit 6a1cb449fe
Author: Sergei Golubchik <serg@mariadb.org>
Date:   Mon Jan 18 18:02:16 2021 +0100

    cleanup: remove slave background thread, use handle_manager thread instead

This restores running the parallel replication deadlock killing in its own
dedicated thread, not in the manager thread shared with other unrelated
processing.

When a parallel replication conflict is detected, multiple threads can be
waiting for each other, potentially in a loop. It is critical for
correctness (as well as performance) that the blocking thread is killed
immediately to allow other threads to continue. If one of the threads being
blocked was the manager thread itself in some unrelated job, the kill could
end up being blocked indefinitely, causing replication to hang, usually
eventually timing out on innodb_lock_wait_timeout and failing replication
with an error like:

[ERROR] Slave worker thread retried transaction 10 time(s) in vain, giving up

Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
2026-02-09 02:11:23 +01:00
..
archive Merge branch '10.11' into 11.4 2025-04-26 10:53:02 +02:00
atomic Merge branch '10.11' into 11.4 2025-04-26 10:53:02 +02:00
binlog Binlog-in-engine: Fix sporadic test after rebase to latest 2026-01-16 23:05:05 +01:00
binlog_encryption Binlog-in-engine: Report master restart to slave 2026-01-16 14:57:13 +01:00
binlog_in_engine Binlog-in-engine: Disable test binlog_in_engine.rpl_gtid_index for Valgrind 2026-02-01 12:31:39 +01:00
client
compat Merge 10.11 into 11.4 2026-01-02 11:53:09 +02:00
csv
encryption MDEV-36556: MariaDB restart after upgrade fails with innodb_encrypt_tables 2025-10-07 09:59:59 +03:00
engines MDEV-34705: Binlog-in-engine: Protect against concurrent RESET MASTER and dump threads 2026-01-16 14:57:13 +01:00
events Merge branch '10.11' into bb-11.4-release 2025-10-22 10:21:16 +02:00
federated MDEV-37484: Sql_cmd_dml::execute_inner, Sql_cmd_update::execute_inner do not call Select handler for the engine involved 2025-11-27 13:13:17 +05:30
funcs_1 Merge 10.11 into 11.4 2026-01-02 11:53:09 +02:00
funcs_2 Merge 10.5 into 10.6 2025-03-26 17:09:57 +02:00
galera MDEV-34705: Binlog-in-engine: Protect against concurrent RESET MASTER and dump threads 2026-01-16 14:57:13 +01:00
galera_3nodes MDEV-34705: Binlog-in-engine: Protect against concurrent RESET MASTER and dump threads 2026-01-16 14:57:13 +01:00
galera_3nodes_sr galera mtr tests: synchronization between branches and editions 2025-04-02 04:50:11 +02:00
galera_sr MDEV-34124: Make sequences work with streaming replication 2025-11-25 13:01:26 +02:00
gcol Merge branch '10.11' into 11.4 2025-07-28 19:40:10 +02:00
handler Merge 10.11 into 11.4 2025-01-09 07:58:08 +02:00
heap Merge branch '10.11 into 11.4 2025-01-30 12:01:11 +01:00
innodb fsp0fsp.cc: log unexpected table in sys tablespace 2026-01-12 13:17:15 +02:00
innodb_fts Merge 10.11 into 11.4 2025-11-11 10:34:33 +02:00
innodb_gis Merge 10.11 into 11.4 2026-01-02 11:53:09 +02:00
innodb_i_s
innodb_zip MDEV-37138: Innochecksum fails to handle doublewrite buffer and 2025-11-11 13:43:43 +05:30
jp
json Merge branch '10.11' into 11.4 2025-11-04 13:44:16 +01:00
large_tests
maria Merge branch '10.11' into 11.4 2025-11-04 13:44:16 +01:00
mariabackup Merge 10.11 into 11.4 2025-11-28 12:56:27 +02:00
merge Merge branch '10.11' into bb-11.4-release 2025-10-22 10:21:16 +02:00
mtr/t
mtr2 Fix for overlayed include files on Windows and a test case 2013-11-10 14:37:32 +04:00
multi_source multi_source.mariadb-dump_slave: don't change global settings 2025-07-31 11:57:38 +02:00
optimizer_unfixed_bugs
parts Merge branch '10.11' into 11.4 2025-07-28 19:40:10 +02:00
perfschema MDEV-38776 [ERROR] Slave worker thread retried transaction 10 time(s) in vain, giving up 2026-02-09 02:11:23 +01:00
perfschema_stress
period Merge branch '10.11' into bb-11.4-release 2025-09-15 16:17:33 +02:00
plugins Merge 10.11 into 11.4 2026-01-02 11:53:09 +02:00
roles Merge branch '10.11 into 11.4 2025-01-30 12:01:11 +01:00
rpl MDEV-38734: Virtual columns wrongly included in binlog_row_image=MINIMAL 2026-02-03 12:51:19 +01:00
s3 MDEV-34705: Binlog-in-engine: Protect against concurrent RESET MASTER and dump threads 2026-01-16 14:57:13 +01:00
sql_sequence MDEV-37345 temporary table, ALTER, recreate sequence 2025-10-28 17:49:51 +01:00
storage_engine
stress
sys_vars Binlog-in-innodb: Small docs clarifications 2026-01-16 23:05:05 +01:00
sysschema MDEV-38776 [ERROR] Slave worker thread retried transaction 10 time(s) in vain, giving up 2026-02-09 02:11:23 +01:00
unit
vcol Merge branch '10.11' into bb-11.4-release 2025-09-15 16:17:33 +02:00
versioning Merge 10.11 into 11.4 2026-01-02 11:53:09 +02:00
wsrep MDEV-38390 : Galera test failure on wsrep.wsrep_provider_plugin_defaults 2025-12-20 09:10:58 +02:00