• Kristian Nielsen's avatar
    MDEV-6120: When slave stops with error, error message should indicate the failing GTID · 86362129
    Kristian Nielsen authored
    If replication breaks in GTID mode, it is not trivial to determine the GTID of
    the failing event group. This is a problem, as such GTID is needed eg. to
    explicitly set @@gtid_slave_pos to skip to after that event group, or to
    compare errors on different servers, etc.
    
    Fix by ensuring that relevant slave errors logged to the error log include the
    GTID of the event group containing the problem event.
    86362129
slave.cc 230 KB