mariadb/mysql-test/suite/rpl
ParadoxV5 5b1bdf6076 MDEV-36359: Patch NULL deref after disabling Semi-Sync primary
Under `@@rpl_semi_sync_master_wait_no_slave = 0`,
when `rpl_semi_sync_master_clients` decrements to zero, the primary
reverts to async replication. This code did not check whether Semi-
Sync is still globally enabled or not as it didn’t matter before.

However, after MDEV-33551 (#3089) split the transactions’ACK condition
variables to per-transaction, this function now needs Semi-Sync’s
transaction tracker to unblock these condition variables in batch,
but this tracker is `NULL` when Semi-Sync Primary is disabled.

Co-authored-by: Kristian Nielsen <knielsen@knielsen-hq.org>
2025-04-17 15:56:45 -06:00
..
extension mtr: use env for perl 2020-06-23 03:24:46 +02:00
include Merge 10.5 -> 10.6 2024-12-05 09:20:36 +01:00
r MDEV-36359: Patch NULL deref after disabling Semi-Sync primary 2025-04-17 15:56:45 -06:00
t MDEV-36359: Patch NULL deref after disabling Semi-Sync primary 2025-04-17 15:56:45 -06: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