• Luis Soares's avatar
    BUG#38826 Race in MYSQL_LOG::purge_logs is impossible to debug in production · abeed3f8
    Luis Soares authored
    BUG#39325 Server crash inside MYSQL_LOG::purge_first_log halts replicaiton
    
    The patch reverses the order of the purging and updating events for log and relay-log.info/index files respectively.
    This solves the problem of having holes caused by crashes happening between updating info/index files and purging logs.
    
    NOTE: This is a combined patch for BUG#38826 and BUG#39325. This patch is based on bugteam tree and takes into account reviewers suggestions.
    abeed3f8
binlog_index.result 1.21 KB