Activity log for bug #1361568

Date Who What changed Old value New value Message
2014-08-26 09:33:21 Laurynas Biveinis bug added bug
2014-08-26 09:33:56 Laurynas Biveinis nominated for series percona-server/5.6
2014-08-26 09:33:56 Laurynas Biveinis bug task added percona-server/5.6
2014-08-26 09:33:56 Laurynas Biveinis nominated for series percona-server/5.1
2014-08-26 09:33:56 Laurynas Biveinis bug task added percona-server/5.1
2014-08-26 09:33:56 Laurynas Biveinis nominated for series percona-server/5.5
2014-08-26 09:33:56 Laurynas Biveinis bug task added percona-server/5.5
2014-08-26 09:37:24 Laurynas Biveinis percona-server/5.6: status New Triaged
2014-08-26 09:37:26 Laurynas Biveinis percona-server/5.6: importance Undecided Low
2014-08-26 09:39:47 Laurynas Biveinis percona-server/5.1: status New Invalid
2014-08-26 09:39:50 Laurynas Biveinis percona-server/5.5: status New Invalid
2014-08-26 09:45:22 Laurynas Biveinis tags ci upstream
2014-08-26 09:46:35 Laurynas Biveinis description For example, http://jenkins.percona.com/job/percona-server-5.6-trunk/310/ has 8 failure instances. They look as follows mysqltest: At line 50: query 'drop table t2,t3' failed: 1213: Deadlock found when trying to get lock; try restarting transaction The relevant test snippet is connection master; ... send update t2 set a = a + 1 + get_lock('crash_lock%20C', 10); connection master1; ... kill @id; drop table t2,t3; ... connection master; # The get_lock function causes warning for unsafe statement. --disable_warnings --error 0,1317,2013 reap; It looks like this is caused by the async KILL completing, and DROP TABLE processing MDL locks before the UPDATE thread checking its kill flag and releasing the locks. The easiest fix seems to be moving DROP TABLE to the master connection to be executed after reap. For example, http://jenkins.percona.com/job/percona-server-5.6-trunk/310/ has 8 failure instances. They look as follows mysqltest: At line 50: query 'drop table t2,t3' failed: 1213: Deadlock found when trying to get lock; try restarting transaction The relevant test snippet is connection master1; select get_lock('crash_lock%20C', 10); connection master; ... send update t2 set a = a + 1 + get_lock('crash_lock%20C', 10); connection master1; ... kill @id; drop table t2,t3; ... connection master; # The get_lock function causes warning for unsafe statement. --disable_warnings --error 0,1317,2013 reap; It looks like this is caused by the async KILL completing, and DROP TABLE processing MDL locks before the UPDATE thread checking its kill flag and releasing the locks. The easiest fix seems to be moving DROP TABLE to the master connection to be executed after reap.
2014-08-26 12:03:18 Laurynas Biveinis percona-server/5.6: assignee Laurynas Biveinis (laurynas-biveinis)
2014-08-26 12:03:21 Laurynas Biveinis percona-server/5.6: status Triaged In Progress
2014-08-26 12:17:05 Launchpad Janitor branch linked lp:~laurynas-biveinis/percona-server/bug1361568
2014-08-26 12:18:58 Laurynas Biveinis percona-server/5.6: status In Progress Fix Committed
2014-08-27 06:18:01 Laurynas Biveinis percona-server/5.6: milestone 5.6.20-68.1
2014-08-27 06:18:07 Laurynas Biveinis percona-server/5.6: status Fix Committed Fix Released
2014-08-27 06:28:44 Laurynas Biveinis bug watch added http://bugs.mysql.com/bug.php?id=73736
2014-08-27 06:28:44 Laurynas Biveinis bug task added mysql-server