Skip to content

Commit

Permalink
MDEV-11491 binlog_encryption.rpl_checksum fails sporadically in buildbot
Browse files Browse the repository at this point in the history
The race condition happened if mark_xid_done was considerably delayed,
and an extra Binlog_checkpoint event was written into the binary log
which was later indicated in an error message. Fixed by ensuring
that the event is written before the binary log is rotated to the one
which is used in the output.
  • Loading branch information
elenst committed Dec 8, 2016
1 parent 8e702bc commit 870d758
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mysql-test/extra/rpl_tests/rpl_checksum.inc
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ create table t1 (a int);
# testing that binlog rotation preserves opt_binlog_checksum value
flush logs;
flush logs;
-- source include/wait_for_binlog_checkpoint.inc
flush logs;

sync_slave_with_master;
Expand Down

0 comments on commit 870d758

Please sign in to comment.