Done
Details
Assignee
Laurynas BiveinisLaurynas Biveinis(Deactivated)Reporter
Laurynas BiveinisLaurynas Biveinis(Deactivated)Fix versions
Affects versions
Priority
Low
Details
Details
Assignee
Laurynas Biveinis
Laurynas Biveinis(Deactivated)Reporter
Laurynas Biveinis
Laurynas Biveinis(Deactivated)Fix versions
Affects versions
Priority
Smart Checklist
Smart Checklist
Smart Checklist
Created January 23, 2018 at 10:32 AM
Updated February 13, 2018 at 8:42 PM
Resolved January 25, 2018 at 5:08 AM
Seen on PS 5.5 trunk, ASan, https://jenkins.percona.com/job/percona-server-5.5-asan-param/159/BUILD_TYPE=debug-asan,Host=ubuntu-xenial-64bit/consoleText:
main.innodb_mysql_lock w3 [ fail ] Test ended at 2018-01-19 08:22:17 CURRENT_TEST: main.innodb_mysql_lock mysqltest: At line 51: query 'INSERT INTO t1 VALUES (2)' succeeded - should have failed with errno 1213... The result from queries just before the failure was: # # Bug #22876 Four-way deadlock # DROP TABLE IF EXISTS t1; # Connection 1 set @@autocommit=0; CREATE TABLE t1(s1 INT UNIQUE) ENGINE=innodb; INSERT INTO t1 VALUES (1); # Connection 2 set @@autocommit=0; INSERT INTO t1 VALUES (2); INSERT INTO t1 VALUES (1); # Connection 3 set @@autocommit=0; DROP TABLE t1; # Connection 1 # Connection 1 is now holding the lock. # Issuing insert from connection 1 while connection 2&3 # is waiting for the lock should give a deadlock error. safe_process[7499]: Child process: 7500, exit: 1
It also matches https://jira.mariadb.org/browse/MDEV-7861