• Kristian Nielsen's avatar
    MDEV-33602: Sporadic test failure in rpl.rpl_gtid_stop_start · 553a4d62
    Kristian Nielsen authored
    The test could fail with a duplicate key error because switching to non-GTID
    mode could start at the wrong old-style position. The position could be
    wrong when the previous GTID connect was stopped before receiving the fake
    GTID list event which gives the old-style position corresponding to the GTID
    connected position.
    
    Work-around by injecting an extra event and syncing the slave before
    switching to non-GTID mode.
    Signed-off-by: default avatarKristian Nielsen <knielsen@knielsen-hq.org>
    553a4d62
rpl_gtid_stop_start.test 9.77 KB