Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
10.0.21
-
None
Description
when STOP SLAVE; CHANGE MASTER TO MASTER_USE_GTID=
{slave_pos|current_pos}; START SLAVE is used, the relay logs are purged and refetched from the master. In this case, or when the gtid_slave_pos is advanced, the relay logs will contain all the transactions required to continue.
As I discovered when doing when a replication delay exceeded expire_log_days of the master was that I was left in a state with no relay logs and a master file:position that wasn't able to be fetched.
An ideal implementation would examine to see at what point the existing relay logs can be used to continue replication.