Libing Song
77bc81b89c
Bug#58546 test rpl_packet timeout failure sporadically on PB
...
rpl_packet got a timeout failure sporadically on PB when stopping
slave. The real reason of this bug is that STOP SLAVE stopped
IO thread first and then stopped SQL thread. It was
possible that IO thread stopped after replicating part of a
transaction which SQL thread was executing. SQL thread would
be hung if the transaction could not be rolled back safely.
After this patch, STOP SLAVE will stop SQL thread first and then stop IO
thread, which guarantees that IO thread will fetch the reset of the
events of the transaction that SQL thread is executing, so that SQL
thread can finish the transaction if it cannot be rolled back safely.
Added below auxiliary files to make the test code neater.
restart_slave_sql.inc
rpl_connection_master.inc
rpl_connection_slave.inc
rpl_connection_slave1.inc
2011-01-19 01:23:49 +08:00
..
2011-01-05 14:58:05 +02:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-03-28 19:57:33 +08:00
2009-05-31 13:44:41 +08:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-11-30 23:32:51 +00:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2009-04-30 16:20:38 +03:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2009-07-06 09:02:14 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-11-05 15:26:38 +01:00
2010-12-19 18:07:28 +01:00
2010-11-05 15:26:38 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2008-10-29 14:25:03 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-21 13:09:38 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2008-08-26 18:01:49 +08:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2009-10-29 10:26:59 +08:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2008-10-29 14:25:03 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2008-10-29 14:25:03 +01:00
2008-10-29 14:25:03 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2008-10-29 14:25:03 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2009-04-09 07:42:51 +08:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2009-12-16 12:25:46 +08:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2008-02-04 06:49:15 +01:00
2008-01-31 15:53:47 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2009-11-28 12:43:16 +08:00
2010-11-05 15:26:38 +01:00
2009-11-28 12:43:16 +08:00
2010-11-05 15:26:38 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2011-01-19 01:23:49 +08:00
2008-08-19 17:35:56 +02:00
2008-08-19 17:35:56 +02:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2008-10-29 14:25:03 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2008-03-05 12:25:55 +02:00
2010-12-19 18:07:28 +01:00
2009-08-28 10:45:57 +01:00
2010-12-19 18:07:28 +01:00
2008-04-25 14:07:17 +02:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2008-10-29 14:25:03 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2008-08-13 23:12:51 +04:00
2008-08-13 23:12:51 +04:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2008-11-13 20:19:00 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2007-10-22 21:45:21 +03:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2009-03-18 10:31:17 +00:00
2010-12-19 18:07:28 +01:00
2010-11-05 15:26:38 +01:00
2009-03-18 10:31:17 +00:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-02-05 17:01:09 +00:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2009-03-26 10:25:06 +02:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-01-20 19:08:16 +00:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2008-09-01 11:00:52 +02:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2011-01-19 01:23:49 +08:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2007-10-20 20:16:12 +02:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-03-17 15:28:49 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00
2010-12-19 18:07:28 +01:00