Bug #51942 Deadlock in replicated statement always fails on retry
| Submitted: | 11 Mar 2010 7:38 | Modified: | 2 Jun 2010 10:04 |
|---|---|---|---|
| Reporter: | Jesper Wisborg Krogh | Email Updates: | |
| Status: | Can't repeat | Impact on me: | |
| Category: | MySQL Server: Replication | Severity: | S3 (Non-critical) |
| Version: | 5.0.77, 5.1.44 | OS: | Linux (RHEL 5.4) |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | Contribution, relay log, replication | ||
[11 Mar 2010 7:38]
Jesper Wisborg Krogh
[11 Mar 2010 7:39]
Jesper Wisborg Krogh
Patch for MySQL 5.0.77 to have the server id for user var events correspond to the server id of the originating server
Attachment: user_var.patch (text/x-patch), 4.61 KiB.
[21 Apr 2010 8:29]
Sveta Smirnova
Thank you for the report. Please send us output of SHOW SLAVE STATUS\G in time when failure occurs.
[18 May 2010 7:06]
Jesper Wisborg Krogh
We have already patched all our systems to use a build of MySQL that includes the patch attached above. Given that I unfortunately do not know how to replicate the issue on cue, I cannot provide an output of SHOW SLAVE STATUS\G, however from memory the Last_Errno and Last_Error is just a normal deadlock error, and then Slave_SQL_Running = No.
[2 Jun 2010 10:04]
Sveta Smirnova
Thank you for the feedback. I was not able to repeat described behavior using test data, so closing report as "Can't repeat". Feel free to reopen it if you have more information.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.060 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.