Skip to content

Commit e392a18

Browse files
Fix binlog_trx_meta_data.test
Summary: This test used to fail sometimes during purging binlogs because the binlog to be purged was still being read by the slave. Added a slave sync to avoid this. Reviewed By: yashtc Differential Revision: D8249786 fbshipit-source-id: a59ce8b
1 parent 861d278 commit e392a18

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mysql-test/suite/rpl/include/binlog_trx_meta_data.inc

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Init
22
connection master;
3+
sync_slave_with_master;
4+
connection master;
35
flush logs;
46
let $master_last_log = query_get_value("SHOW MASTER STATUS", "File", 1);
57
eval purge binary logs to '$master_last_log';

0 commit comments

Comments
 (0)