• unknown's avatar
    MDEV-5306: Missing locking around rpl_global_gtid_binlog_state · 170e9e59
    unknown authored
    There were some places where insufficient locking between
    parallel threads could cause invalid memory accesses and
    possibly other grief.
    
    This patch adds the missing locking, and moves the locking
    into the struct rpl_binlog_state methods to make it easier
    to see that proper locking is in place everywhere.
    170e9e59
log.cc 276 KB