Bug #45852 | Semisynch: Last_IO_Error: Fatal error: Failed to run 'after_queue_event' hook | ||
---|---|---|---|
Submitted: | 30 Jun 2009 11:48 | Modified: | 12 Nov 2009 14:27 |
Reporter: | Philip Stoev | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S3 (Non-critical) |
Version: | 5.4 | OS: | Any |
Assigned to: | Zhenxing He | CPU Architecture: | Any |
Tags: | experimental, pb2, test failure |
[30 Jun 2009 11:48]
Philip Stoev
[30 Jun 2009 13:30]
Zhenxing He
The error is on slave, not on master, maybe the error message 'Set 'rpl_semi_sync_master_reply_log_file_pos' on master failed' is misleading, better say 'Send semi-sync reply to master failed'. This error is mostly caused by connection problem. Fatal here means that the slave IO thread has to stop because of the error, but it's possible to restart slave IO thread.
[30 Jun 2009 13:51]
Philip Stoev
The test uses only STOP SLAVE IO_THREAD and it does not attempt to disrupt the connection between the master and the slave in any other way. Can we have extra debugging information in case this error happens so that this can be debugged further?
[5 Sep 2009 8:23]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/82521 2802 He Zhenxing 2009-09-05 Bug#45852 Semisynch: Last_IO_Error: Fatal error: Failed to run 'after_queue_event' hook Errors when send reply to master should never cause the IO thread to stop, because master can fall back to async replication if it does not get reply from slave. The problem is fixed by deliberately ignore the return value of slaveReply. @ plugin/semisync/semisync_slave_plugin.cc Deliberately ignore the return value of slaveReply so that errors while sending slave reply will not cause the IO thread to stop.
[8 Sep 2009 4:41]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/82622 2802 He Zhenxing 2009-09-08 Bug#45852 Semisynch: Last_IO_Error: Fatal error: Failed to run 'after_queue_event' hook Errors when send reply to master should never cause the IO thread to stop, because master can fall back to async replication if it does not get reply from slave. The problem is fixed by deliberately ignore the return value of slaveReply. @ plugin/semisync/semisync_slave.cc Change the error message when send reply failed @ plugin/semisync/semisync_slave_plugin.cc Deliberately ignore the return value of slaveReply so that errors while sending slave reply will not cause the IO thread to stop.
[8 Sep 2009 6:15]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/82625 2802 He Zhenxing 2009-09-08 Bug#45852 Semisynch: Last_IO_Error: Fatal error: Failed to run 'after_queue_event' hook Errors when send reply to master should never cause the IO thread to stop, because master can fall back to async replication if it does not get reply from slave. The problem is fixed by deliberately ignoring the return value of slaveReply. @ plugin/semisync/semisync_slave.cc Change the error message when send reply failed @ plugin/semisync/semisync_slave_plugin.cc Deliberately ignore the return value of slaveReply so that errors while sending slave reply will not cause the IO thread to stop.
[26 Sep 2009 10:32]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/84715 2837 He Zhenxing 2009-09-26 [merge] Merge BUG#45852 to 6.0-codebase-bugfixing
[30 Sep 2009 3:58]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/85120 3627 He Zhenxing 2009-09-30 Bug#45852 Semisynch: Last_IO_Error: Fatal error: Failed to run 'after_queue_event' hook Errors when send reply to master should never cause the IO thread to stop, because master can fall back to async replication if it does not get reply from slave. The problem is fixed by deliberately ignoring the return value of slaveReply. @ plugin/semisync/semisync_slave_plugin.cc Deliberately ignore the return value of slaveReply so that errors while sending slave reply will not cause the IO thread to stop.
[9 Oct 2009 8:47]
Bugs System
Pushed into 6.0.14-alpha (revid:alik@ibmvm-20091009083208-0o0f0i9w1sq3c1kn) (version source revid:zhenxing.he@sun.com-20090930035829-z5k0sbc0s6pjx30e) (merge vers: 6.0.14-alpha) (pib:12)
[9 Oct 2009 10:43]
Jon Stephens
Documented bugfix in the 6.0.14 changelog as follows: When using semi-synchronous replication, an error raised on the slave while sending a response to the master caused the slave IO thread to stop. Set status to NDI, waiting for push to 5.4.
[12 Oct 2009 12:57]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/86574 3115 He Zhenxing 2009-10-12 Backport Bug#45852 Semisynch: Last_IO_Error: Fatal error: Failed to run 'after_queue_event' hook Errors when send reply to master should never cause the IO thread to stop, because master can fall back to async replication if it does not get reply from slave. The problem is fixed by deliberately ignoring the return value of slaveReply.
[27 Oct 2009 9:49]
Bugs System
Pushed into 6.0.14-alpha (revid:alik@sun.com-20091027094604-9p7kplu1vd2cvcju) (version source revid:zhenxing.he@sun.com-20091026140226-uhnqejkyqx1aeilc) (merge vers: 6.0.14-alpha) (pib:13)
[28 Oct 2009 6:37]
Jon Stephens
Already documented for 6.0.14; re-closing.
[12 Nov 2009 8:18]
Bugs System
Pushed into 5.5.0-beta (revid:alik@sun.com-20091110093229-0bh5hix780cyeicl) (version source revid:alik@sun.com-20091027095744-rf45u3x3q5d1f5y0) (merge vers: 5.5.0-beta) (pib:13)
[12 Nov 2009 14:27]
Jon Stephens
Also documented in the 5.5.0 changelog; closed.
[18 Dec 2009 15:41]
Paul DuBois
Removed 5.5.0 changelog entry. In 5.5, semisync replication first appears in 5.5.0, so this bug affects no 5.5.x releases.