• sjaakola's avatar
    MDEV-31905 GTID inconsistency · c89f769f
    sjaakola authored
    This commit fixes GTID inconsistency which was injected by mariabackup SST.
    Donor node now writes new info file: donor_galera_info, which is streamed
    along the mariabackup donation to the joiner node. The donor_galera_info
    file contains both GTID and gtid domain_id, and joiner will use these to
    initialize the GTID state.
    
    Commit has new mtr test case: galera_3nodes.galera_gtid_consistency, which
    exercises potentially harmful mariabackup SST scenarios. The test has also
    scenario with IST joining.
    Signed-off-by: default avatarJulius Goryavsky <julius.goryavsky@mariadb.com>
    c89f769f
backup_copy.cc 59.4 KB