lp:~laurynas-biveinis/percona-server/bug1361568

Created by Laurynas Biveinis on 2014-08-26 and last modified on 2014-08-27
Get this branch:
bzr branch lp:~laurynas-biveinis/percona-server/bug1361568
Only Laurynas Biveinis can upload to this branch. If you are Laurynas Biveinis please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Recent revisions

653. By Laurynas Biveinis on 2014-08-27

Fix bug 1361568 (Intermittent rpl_err_ignoredtable failures on the 5.6
trunk).

The bug is in the testcase, the relevant bits are:

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;

KILL and DROP TABLE statements race and may end up in the master1
thread holding the user lock and attempting to drop the tables, while
the master thread hasn't reacted to the kill bit yet, and thus has the
same tables locked and is waiting for the user lock.

Fix with a MariaDB patch that waits for the KILL to complete before
proceeding with the DROP TABLE
(https://github.com/MariaDB/server/commit/45f8bcb282f9ff68c2a21366aad5947380a503c0).

650. By Laurynas Biveinis on 2014-08-22

Null-merge lp:percona-server/5.5 rev 691

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:percona-server/5.6
This branch contains Public information 
Everyone can see this information.