Bug #1824 | replication fails for duplicate in primary key, which isn't true on master | ||
---|---|---|---|
Submitted: | 12 Nov 2003 20:59 | Modified: | 10 Dec 2003 9:11 |
Reporter: | Ken Menken | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S2 (Serious) |
Version: | 4.0.13 (-log) | OS: | Linux (Debian) |
Assigned to: | CPU Architecture: | Any |
[12 Nov 2003 20:59]
Ken Menken
[13 Nov 2003 14:36]
Dean Ellis
Would it be possible for you to upgrade to the latest MySQL 4.0 release and see if the issue arises again? I am unsure if this applies to your specific situation, but there have been replication-related bug fixes in subsequent releases, one such being a correction to an issue introduced in version 4.0.13 that involved replicating auto_increment columns. Thank you
[13 Nov 2003 15:02]
Ken Menken
We upgraded the slave to 4.0.16 and it seems like it took longer to crash -- but crash it did, with the same problem. Do we need to upgrade the master as well? It's an active site, so we're more leery about upgrades to the master. Thanks!
[13 Nov 2003 15:10]
Dean Ellis
If the particular bug mentioned above is causing the problem then yes, as the bug is actually on the master and not on the slave.
[10 Dec 2003 8:48]
Chris Rawluk
We are having the same problem on our windows 2000 installation. Upgrading to 4.0.16 on the slave has resulted in fewer "duplicate key" slave thread crashes, but now our slave is now routinely out of sync. We have reviewed the binlog on the master and there do not seem to be any problems. It appears that certain insert statements are being ignored by the slave.
[10 Dec 2003 8:57]
Ken Menken
Chris, Yours may be a different issue (were you careful to take a new snapshot before restarting replication post-upgrade?). For us, the change to 4.0.16 did fix the problem -- replication no longer stops and, at least to the best of our knowledge, the tables are in sync. As far as I'm concerned this bug report can be closed (I forgot to do that, sorry) -- but you may want to open a new one for your Windows replication issue. Yours, Ken
[10 Dec 2003 9:11]
Guilhem Bichot
Thank you for your bug report. This issue has already been fixed in the latest released version of that product, which you can download at http://www.mysql.com/downloads/ Additional info: Ken, I am marking the bug closed as you said 4.0.16 fixed the problem. Chris, feel free to enter your problem as a separate bug, if needed.