summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelique <angelique.sklavounos@mariadb.com>2022-12-02 01:46:45 +0000
committerAngelique <angelique.sklavounos@mariadb.com>2022-12-02 01:46:45 +0000
commit53c41fc15aea461aea8e541469c0814a5ad91060 (patch)
tree407e8b8f8a2018f402a93a202e3ee112e98baf12
parentcc86360f4afb5b7b9fe64bbffef18538b2e3589b (diff)
downloadmariadb-git-bb-10.3-MDEV-16951.tar.gz
MDEV-16951: This was caused by a race condition where the log rotation occurs before the Binlog_checkpoint is written to the binary log indicated in the error message. Fixed by ensuring Binlog_checkpoint is written before the binary log rotation.bb-10.3-MDEV-16951
-rw-r--r--mysql-test/suite/rpl/include/rpl_checksum.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/suite/rpl/include/rpl_checksum.inc b/mysql-test/suite/rpl/include/rpl_checksum.inc
index 17a986dc308..67dba9802dd 100644
--- a/mysql-test/suite/rpl/include/rpl_checksum.inc
+++ b/mysql-test/suite/rpl/include/rpl_checksum.inc
@@ -89,6 +89,7 @@ flush logs;
flush logs;
-- source include/wait_for_binlog_checkpoint.inc
flush logs;
+-- source include/wait_for_binlog_checkpoint.inc
sync_slave_with_master;
#connection slave;