Bug #23775 | Replicated event larger that max_allowed_packet infinitely re-transmits | ||
---|---|---|---|
Submitted: | 30 Oct 2006 16:02 | Modified: | 26 Mar 2007 6:49 |
Reporter: | [ name withheld ] | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S2 (Serious) |
Version: | 4.1.21 master 5.0.24a slave | OS: | Linux (RHEL 4) |
Assigned to: | Alexey Kopytov | CPU Architecture: | Any |
Tags: | max_allowed_packet, replication |
[30 Oct 2006 16:02]
[ name withheld ]
[1 Nov 2006 20:16]
Sveta Smirnova
Thank you for the reasonable feature request.
[6 Nov 2006 20:56]
[ name withheld ]
I really don't think this is a feature request. This is not a "cosmetic or enhancement request." It is an incorrectly handled error condition which can have a pretty significant impact on a site's available bandwidth if there are fast servers on either end and a slow pipe in between. Please consider reclassifying as at least S3 and preferably S2.
[15 Mar 2007 11:00]
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/21995 ChangeSet@1.2391, 2007-03-15 13:59:26+03:00, kaa@polly.local +5 -0 Fix for bug #23775 "Replicated event larger that max_allowed_packet infinitely re-transmits". Test for the client "packet too large" error code instead of the server one in slave I/O thread.
[16 Mar 2007 14:25]
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/22139 ChangeSet@1.2391, 2007-03-16 17:25:20+03:00, kaa@polly.local +3 -0 Fix for bug #23775 "Replicated event larger that max_allowed_packet infinitely re-transmits". Problem: to handle a situation when the size of event on the master is greater than max_allowed_packet on slave, we checked for the wrong constant (ER_NET_PACKET_TOO_LARGE instead of CR_NET_PACKET_TOO_LARGE). Solution: test for the client "packet too large" error code instead of the server one in slave I/O thread.
[26 Mar 2007 6:49]
MC Brown
A note has been added to the 5.0.40 and 5.1.17 changelogs.