Bug #2611 | calling stored procedure on replication master causes all slaves to crash | ||
---|---|---|---|
Submitted: | 2 Feb 2004 7:43 | Modified: | 20 Apr 2005 21:48 |
Reporter: | Bill Au | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S2 (Serious) |
Version: | 5.0 | OS: | Linux (RedHat 7.3) |
Assigned to: | Guilhem Bichot | CPU Architecture: | Any |
[2 Feb 2004 7:43]
Bill Au
[5 Feb 2004 13:35]
Dean Ellis
I cannot repeat this against the current 5.0 tree. The slave merely logs: ERROR: 1289 PROCEDURE testproc does not exist and continues on. This was possibly caused by another bug (2269, for instance) that has already been corrected.
[5 Feb 2004 13:39]
Bill Au
In order to reproduce this bug, the procedure has to be created manually on the slave servers (since create procedure is not replicated, see bug 2610). Once the procedure exists on the slaves, the slaves will crash if the procedure is called on the master.
[5 Feb 2004 15:28]
Dean Ellis
Sorry, that was my oversight. Verified against current 5.0 bk tree. Also crashes if the procedure specifies the database name for the table in which it is inserting. Thank you.
[19 Apr 2005 9:27]
Guilhem Bichot
Too hard and imperfect with statement-level binary logging of 5.0. Will be fixed in 5.1 with record-level binary logging.
[20 Apr 2005 21:48]
Guilhem Bichot
Finally I fixed it in 5.0.5.