Bug #3591 | Replication sending Errored SQLs to Slave | ||
---|---|---|---|
Submitted: | 28 Apr 2004 16:49 | Modified: | 28 Apr 2004 18:50 |
Reporter: | Matthew Elzer | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S2 (Serious) |
Version: | 4.0.18 | OS: | Linux (redhat 9) |
Assigned to: | Guilhem Bichot | CPU Architecture: | Any |
[28 Apr 2004 16:49]
Matthew Elzer
[28 Apr 2004 17:55]
Matthew Elzer
I setup this "test", and it didn't fail. I can't be sure what caused it, but I know the database was the activly selected database through the entire program. And it's the only program that inserts or deletes records in that table.
[28 Apr 2004 18:50]
Guilhem Bichot
Hi! If an INSERT of one row fails, the replication master never sends it to the slave. So if you get a "duplicate key" error on the slave, it means that some statements suceeded on the master and the same statements failed on slave, with this error. The cause of this, you need to find out. But for sure, a failed one-row INSERT on master never goes to the slave.