Manish Kumar
1211b5d50b
BUG#12400221 - 60926: BINARY LOG EVENTS LARGER THAN MAX_ALLOWED_PACKET
...
Problem
========
Replication breaks in the cases if the event length exceeds
the size of master Dump thread's max_allowed_packet.
The reason why this failure is occuring is because the event length is
more than the total size of the max_allowed_packet, on addition of the
max_event_header length exceeds the max_allowed_packet of the DUMP thread.
This causes the Dump thread to break replication and throw an error.
That can happen e.g with row-based replication in Update_rows event.
Fix
====
The problem is fixed in 2 steps:
1.) The Dump thread limit to read event is increased to the upper limit
i.e. Dump thread reads whatever gets logged in the binary log.
2.) On the slave side we increase the the max_allowed_packet for the
slave's threads (IO/SQL) by increasing it to 1GB.
This is done using the new server option (slave_max_allowed_packet)
included, is used to regulate the max_allowed_packet of the
slave thread (IO/SQL) by the DBA, and facilitates the sending of
large packets from the master to the slave.
This causes the large packets to be received by the slave and apply
it successfully.
2012-06-12 12:59:13 +05:30
..
2008-12-19 16:03:32 +01:00
2009-03-12 17:55:10 +01:00
2009-02-27 21:43:43 +01:00
2009-03-12 17:55:10 +01:00
2009-02-27 21:43:43 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2009-03-20 18:11:22 +01:00
2009-04-03 11:37:48 +02:00
2009-01-29 17:59:46 +01:00
2009-03-20 18:11:22 +01:00
2009-04-03 11:37:48 +02:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2009-01-29 17:59:46 +01:00
2008-12-19 16:03:32 +01:00
2009-01-30 15:44:49 +02:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2009-02-24 16:20:00 +02:00
2009-03-12 17:55:10 +01:00
2009-01-29 17:59:46 +01:00
2009-02-27 21:43:43 +01:00
2008-12-19 16:03:32 +01:00
2009-02-27 21:43:43 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2009-01-29 17:59:46 +01:00
2009-03-20 18:11:22 +01:00
2009-04-03 11:37:48 +02:00
2009-03-20 18:11:22 +01:00
2009-02-27 21:43:43 +01:00
2009-03-20 18:11:22 +01:00
2009-04-03 11:37:48 +02:00
2009-02-27 21:43:43 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2009-02-27 21:43:43 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2009-03-20 18:11:22 +01:00
2008-12-19 16:03:32 +01:00
2010-11-11 11:25:03 +01:00
2009-01-29 17:59:46 +01:00
2010-11-08 16:30:26 +01:00
2009-02-27 21:43:43 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2009-01-29 17:59:46 +01:00
2008-12-19 16:03:32 +01:00
2009-01-29 17:59:46 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2010-11-08 16:30:26 +01:00
2008-07-23 16:06:44 +02:00
2008-07-23 16:06:44 +02:00
2008-12-19 16:03:32 +01:00
2009-05-22 01:22:46 +05:00
2008-12-19 16:03:32 +01:00
2009-01-29 17:59:46 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2009-05-22 01:22:46 +05:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2011-01-18 09:24:52 +05:30
2008-07-23 16:06:44 +02:00
2008-07-23 16:06:44 +02:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-07-23 16:06:44 +02:00
2008-07-23 16:06:44 +02:00
2008-12-19 16:03:32 +01:00
2009-01-29 17:59:46 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2009-02-27 21:43:43 +01:00
2009-03-20 18:11:22 +01:00
2009-03-20 18:11:22 +01:00
2009-04-03 11:37:48 +02:00
2008-12-19 16:03:32 +01:00
2009-03-20 18:11:22 +01:00
2009-04-03 11:37:48 +02:00
2009-01-29 17:59:46 +01:00
2009-03-20 18:11:22 +01:00
2008-07-23 16:06:44 +02:00
2009-03-20 18:11:22 +01:00
2008-07-23 16:06:44 +02:00
2009-03-20 18:11:22 +01:00
2008-07-23 16:06:44 +02:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2009-01-29 17:59:46 +01:00
2010-02-23 12:33:20 +01:00
2008-12-19 16:03:32 +01:00
2009-01-29 17:59:46 +01:00
2010-02-23 12:33:20 +01:00
2010-11-08 16:30:26 +01:00
2010-11-11 11:25:03 +01:00
2009-01-29 17:59:46 +01:00
2009-03-20 18:11:22 +01:00
2009-04-03 11:37:48 +02:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2012-05-21 12:57:39 +05:30
2012-05-21 12:57:39 +05:30
2009-03-20 18:11:22 +01:00
2009-04-03 11:37:48 +02:00
2008-12-19 16:03:32 +01:00
2009-02-27 21:43:43 +01:00
2009-03-20 18:11:22 +01:00
2009-04-03 11:37:48 +02:00
2009-02-27 21:43:43 +01:00
2009-02-27 21:43:43 +01:00
2009-02-27 21:43:43 +01:00
2009-03-20 18:11:22 +01:00
2009-04-03 11:37:48 +02:00
2009-02-27 21:43:43 +01:00
2011-09-28 15:39:21 +05:30
2009-02-27 21:43:43 +01:00
2009-02-27 21:43:43 +01:00
2008-12-19 16:03:32 +01:00
2009-02-27 21:43:43 +01:00
2009-03-20 18:11:22 +01:00
2009-04-03 11:37:48 +02:00
2009-01-29 17:59:46 +01:00
2009-02-27 21:43:43 +01:00
2009-01-29 17:59:46 +01:00
2009-02-27 21:43:43 +01:00
2008-12-19 16:03:32 +01:00
2009-03-20 18:11:22 +01:00
2009-04-03 11:37:48 +02:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2009-03-20 18:11:22 +01:00
2009-04-03 11:37:48 +02:00
2009-03-20 18:11:22 +01:00
2009-04-03 11:37:48 +02:00
2009-03-20 18:11:22 +01:00
2009-04-03 11:37:48 +02:00
2009-02-27 21:43:43 +01:00
2009-01-29 17:59:46 +01:00
2009-03-20 18:11:22 +01:00
2009-04-03 11:37:48 +02:00
2009-03-20 18:11:22 +01:00
2009-04-03 11:37:48 +02:00
2010-03-25 16:08:21 +04:00
2010-03-25 20:35:07 +04:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2009-01-29 17:59:46 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2012-05-21 12:57:39 +05:30
2009-02-27 21:43:43 +01:00
2009-03-20 18:11:22 +01:00
2009-04-03 11:37:48 +02:00
2009-02-27 21:43:43 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2009-02-27 21:43:43 +01:00
2009-02-27 21:43:43 +01:00
2009-02-27 21:43:43 +01:00
2009-03-20 18:11:22 +01:00
2009-04-03 11:37:48 +02:00
2009-03-20 18:11:22 +01:00
2009-04-03 11:37:48 +02:00
2009-01-29 17:59:46 +01:00
2009-03-20 18:11:22 +01:00
2009-04-03 11:37:48 +02:00
2009-03-20 18:11:22 +01:00
2009-04-03 11:37:48 +02:00
2008-12-19 16:03:32 +01:00
2009-01-29 17:59:46 +01:00
2008-12-19 16:03:32 +01:00
2009-03-20 18:11:22 +01:00
2009-01-22 11:14:16 +01:00
2009-04-03 11:37:48 +02:00
2009-01-29 17:59:46 +01:00
2009-03-20 18:11:22 +01:00
2009-04-03 11:37:48 +02:00
2009-03-20 18:11:22 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2009-03-20 18:11:22 +01:00
2008-12-19 16:03:32 +01:00
2009-05-22 01:22:46 +05:00
2009-03-20 18:11:22 +01:00
2009-03-20 18:11:22 +01:00
2009-04-03 11:37:48 +02:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2010-12-16 11:49:40 +01:00
2010-04-16 16:10:47 +02:00
2009-03-20 18:11:22 +01:00
2009-03-12 17:55:10 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2012-06-12 12:59:13 +05:30
2009-02-27 21:43:43 +01:00
2009-03-20 18:11:22 +01:00
2009-04-03 11:37:48 +02:00
2009-02-27 21:43:43 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2010-11-11 11:25:03 +01:00
2009-01-29 17:59:46 +01:00
2010-06-08 10:58:19 +02:00
2009-01-08 19:13:57 +01:00
2009-01-08 19:13:57 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2011-09-28 15:39:21 +05:30
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2009-03-20 18:11:22 +01:00
2011-09-28 15:39:21 +05:30
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2009-05-22 01:22:46 +05:00
2008-12-19 16:03:32 +01:00
2009-05-22 01:22:46 +05:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2009-03-20 18:11:22 +01:00
2009-04-03 11:37:48 +02:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2009-02-27 21:43:43 +01:00
2009-02-27 21:43:43 +01:00
2009-02-27 21:43:43 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2010-11-08 16:30:26 +01:00
2010-11-08 16:30:26 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2010-11-08 16:30:26 +01:00
2008-12-19 16:03:32 +01:00
2009-03-20 18:11:22 +01:00
2009-04-03 11:37:48 +02:00
2009-03-20 18:11:22 +01:00
2009-04-03 11:37:48 +02:00
2008-12-19 16:03:32 +01:00
2010-05-11 19:58:45 +03:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00
2009-03-20 18:11:22 +01:00
2009-04-03 11:37:48 +02:00
2008-12-19 16:03:32 +01:00
2008-12-19 16:03:32 +01:00