Bug #81840 | Automatic Replication Recovery Does Not Handle Lost Relay Log Events | ||
---|---|---|---|
Submitted: | 14 Jun 2016 4:53 | ||
Reporter: | Jesper wisborg Krogh | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S2 (Serious) |
Version: | 5.6 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[14 Jun 2016 4:53]
Jesper wisborg Krogh
[9 Feb 2017 23:06]
Vojtech Kurka
We probably ran into this today after a crash on MT slave with 5.7.16 and 5.7.15 master. After system restart, slave reported "Slave failed to initialize relay log info structure from the repository". This workaround did work: 1) keep record of the info in Relay log info;(show slave status) 2) stop slave; 3) reset slave; 4) start slave; 5) stop slave; 6) SET GLOBAL gtid_purged='gtid position recorded in step 1'; change master to...; 7) start slave;
[4 Jan 2018 8:43]
Prasad N
We seem to be hitting the issue with 5.7.18 The bug is marked as verified. Is there a fix planned for it ? Thanks Prasad
[20 Aug 2018 18:16]
Jean-François Gagné
Two work-arounds for this bug: 1) sync_relay_log = 1 2) slave_preserve_commit_order = ON (when slave_parallel_mode = LOGICAL_CLOCK)
[2 Mar 2020 10:28]
Jean-François Gagné
See Bug#93081 for a potential solution.
[25 Jan 2021 10:11]
Buchan Milne
Is this fixed (in the GTID auto-position case) by https://bugs.mysql.com/bug.php?id=92882 (fixed in 5.7.28, 8.0.18)?