[MDEV-8732] Error with replication on slaves after dumpfile data import on master Created: 2015-09-02 Updated: 2020-02-13 Resolved: 2020-02-13 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Affects Version/s: | 5.5.41 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | John Margaritsanakis | Assignee: | Andrei Elkin |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
CentOS Linux release 7.1.1503 (Core) |
||
| Issue Links: |
|
||||||||
| Description |
|
We ran into a problem with replication on slaves after importing a dumpfile on master. Before the following begins replication works fine. After importing the dumpfile replication always failed afterwards with this error:
Skipping the error does no good, it just produces error on the next position. The dumpfile up to that point is pretty short, so I'll paste it here:
I fixed the replication (by dumping with --master-data and importing on slaves) then started again with the above portion of the dumpfile without its last line (the mysql DROP). That works fine. I then stopped replication and executed the missing line manually on the master and the slaves. I get this on both:
In other words, the exact same thing done separately on master/slaves works when replication is off, but when I execute it only on the master with replication turned on it does not. It looks like a bug unless I'm missing something. Thanks for reading!
|
| Comments |
| Comment by Elena Stepanova [ 2019-04-06 ] |
|
Elkin, |