Bug #72824 | Can't restart replication after restart with slave_parallel_workers and error | ||
---|---|---|---|
Submitted: | 1 Jun 2014 3:13 | Modified: | 19 Sep 2016 8:22 |
Reporter: | Jesper wisborg Krogh | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S2 (Serious) |
Version: | 5.6.19 | OS: | Linux |
Assigned to: | CPU Architecture: | Any |
[1 Jun 2014 3:13]
Jesper wisborg Krogh
[1 Jun 2014 3:13]
Jesper wisborg Krogh
Workaround: =========== Use RESET SLAVE ALL followed by a restart. Then it's possible to use CHANGE MASTER TO to re-initialise the replication.
[1 Jun 2014 22:11]
Jesper wisborg Krogh
Note the workaround only works if all the other threads happens to be at the same point in the binary logs as the thread that encountered the error. Otherwise resetting the replication will cause the slave to become out of sync.
[9 Jul 2014 8:02]
qinglin zhang
reset slave all won't work, in my instance, I use the following method: 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) change master 到1)中的位点; 7) start slave;
[9 Jul 2014 8:03]
qinglin zhang
reset slave all won't work, in my instance, I use the following method: 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) change master to position recorded in step 1); 7) start slave;
[20 Nov 2014 7:11]
WANG GUANGYOU
Hi, Can you skip the error temporary? set global sql_slave_skip_counter=1
[22 Jan 2016 3:04]
Jesper wisborg Krogh
Posted by developer: See also Bug 21507981/Bug 77496
[19 Sep 2016 8:22]
Erlend Dahl
Duplicate of Bug#77496 Replication position lost after crash on MTS configured slave