• Kristian Nielsen's avatar
    MDEV-8354: out-of-order error with --gtid-ignore-duplicates and row-based replication · b89de2b2
    Kristian Nielsen authored
    The --gtid-ignore-duplicates option was not working correctly with row-based
    replication. When a row event was completed, but before committing, there
    was a small window where another multi-source SQL thread could wrongly try
    to re-execute the same transaction, without properly ignoring the duplicate
    GTID. This would lead to duplicate key error or out-of-order GTID error or
    similar.
    
    Thanks to Matt Neth for reporting this and giving an easy way to reproduce
    the issue.
    b89de2b2
gtid_ignore_duplicates.result 9.75 KB