mariadb/mysql-test/suite/rpl
Brandon Nesterenko cb5dd76959 MDEV-35938: rpl.rpl_parallel_gco_wait_kill fails - "Can't initialize replace ..."
Test rpl.rpl_parallel_gco_wait_kill has a race condition where
it identifies that SQL using its state as
"Slave has read all relay log", and immediately tries to save
the thread id of the SQL thread by querying for threads with
that same state. However, the state of the SQL thread may
change in-between this time, leading to the query that saves
the SQL thread finding no thread id that matches that state.

Commit 3ee6f69d49 aimed to fix
this in 10.11+ by simplifying the query string to
"%relay log%"; however, it could still fail (though less
often).

This commit instead changes the query to find the SQL thread
from using some state, to using the command "Slave_SQL", which
will not change
2025-01-25 15:54:37 -07:00
..
extension mtr: use env for perl 2020-06-23 03:24:46 +02:00
include MDEV-5798: Wrong errorcode for missing partition after TRUNCATE PARTITION 2024-12-05 08:17:35 +01:00
r MDEV-35096: History is stored in different partitions on different nodes when using SYSTEM VERSION 2025-01-13 15:59:07 -07:00
t MDEV-35938: rpl.rpl_parallel_gco_wait_kill fails - "Can't initialize replace ..." 2025-01-25 15:54:37 -07:00
disabled.def MDEV-17390: re-neable rpl_semi_sync_after_sync test 2022-06-17 19:38:43 +03:00
my.cnf Remove duplicated default client include from replication my.cnf 2023-09-14 12:56:41 +02:00
README
rpl_1slave_base.cnf

How to run.
===========

./mysql-test-run.pl --suite=rpl --mysqld=--binlog-format=mixed