1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-29934 rpl.rpl_start_alter_chain_basic, rpl.rpl_start_alter_restart_slave sometimes fail in BB with result content mismatch

rpl.rpl_start_alter_chain_basic was used to fail sporadically due
to a missed GTID master-slave synchronization which was necessary
because of the following SELECT from GTID-state table.

Fixed with arranging two synchronization pieces for two
chain slaves requiring that.

Note rpl.rpl_start_alter_restart_slave must have been fixed by
MDEV-30460 and 87e13722a9 (manual) merge commit.
This commit is contained in:
Andrei
2024-06-19 14:03:31 +03:00
parent c37b2a9f04
commit 387bdb2a2e
2 changed files with 9 additions and 0 deletions

View File

@ -64,7 +64,10 @@ connection server_2;
select domain_id, seq_no from mysql.gtid_slave_pos order by seq_no desc limit 1;
domain_id seq_no
0 12
connection server_1;
include/save_master_gtid.inc
connection server_3;
include/sync_with_master_gtid.inc
select domain_id, seq_no from mysql.gtid_slave_pos order by seq_no desc limit 1;
domain_id seq_no
0 12
@ -77,6 +80,7 @@ select @@slave_parallel_threads;
@@slave_parallel_threads
0
connection server_4;
include/sync_with_master_gtid.inc
select domain_id, seq_no from mysql.gtid_slave_pos order by seq_no desc limit 1;
domain_id seq_no
0 12