• unknown's avatar
    MDEV-4486: Allow to start old-style replication even if mysql.rpl_slave_state is unavailable · 03aa4876
    unknown authored
    If the mysql.gtid_slave_pos table is not available, we cannot load nor update
    the current GTID position persistently. This can happen eg. after an upgrade,
    before mysql_upgrade_db is run, or if the table is InnoDB and the server is
    restarted without the InnoDB storage engine enabled.
    
    Before, replication always failed to start if the table was unavailable. With
    this patch, we try to continue with old-style replication, after suitable
    complaints in the error log. In strict mode, or if slave is configured to use
    GTID, slave still refuses to start.
    03aa4876
slave.cc 216 KB