• unknown's avatar
    Fix sporadic failure of test rpl.rpl_gtid_startpos · 748e8a35
    unknown authored
    The test did RESET MASTER and then tried to use --sync_with_master
    to wait for GTID-based replication to catch up. This though has
    a race, there is a small window where the _old_ pre-RESET MASTER
    position on the slave is higher than the new pos-RESET MASTER
    position, causing the --sync_with_master to be a no-op.
    
    Fix by using include/wait_condition.inc instead.
    748e8a35
rpl_gtid_startpos.test 10.1 KB