• Andrei's avatar
    MDEV-27697 slave must recognize incomplete replication event group · 1bcdc3e9
    Andrei authored
    In cases of a faulty master or an incorrect binlog event producer, that slave is working with,
    sends an incomplete group of events slave must react with an error to not to log
    into the relay-log any new events that do not belong to the incomplete group.
    
    Fixed with extending received event properties check when slave connects to master
    in gtid mode.
    Specifically for the event that can be a part of a group its relay-logging is
    permitted only when its position within the group is validated.
    Otherwise slave IO thread stops with ER_SLAVE_RELAY_LOG_WRITE_FAILURE.
    1bcdc3e9
rpl_gtid_grouping.test 2.57 KB