• unknown's avatar
    MDEV-26: Global transaction ID. · cb65cee8
    unknown authored
    When slave requested to start at some GTID, and that GTID was the very
    last event (within its replication domain) in some binlog file, we did
    not allow the binlog dump thread on the master to start from the
    beginning of a following binlog file. This is a problem, since the
    binlog file containing the GTID is likely to be purged if the
    replication domain is unused for long.
    
    With this fix, if the Gtid list event at the start of a binlog file
    contains exactly the GTID requested by the slave, we allow to start
    the binlog dump thread from this file, taking care not to skip any
    events from that domain in the file.
    cb65cee8
rpl_gtid_startpos.test 6.77 KB