Assertion `m_prot_lock != __null && thd->mdl_context.is_lock_owner(m_namespace, "", "", MDL_INTENTION_EXCLUSIVE)' failed in in Global_backup_lock::release_protection
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
Medium
|
Alexey Kopytov | ||
5.1 |
Invalid
|
Undecided
|
Unassigned | ||
5.5 |
Invalid
|
Undecided
|
Unassigned | ||
5.6 |
Fix Released
|
Medium
|
Alexey Kopytov |
Bug Description
mysqld: /mnt/workspace/
ck::release_
.
06:40:18 UTC - mysqld got signal 6 ;
*** Testcase (Reproduced with debug build - Attached server start-up command)
DROP DATABASE test;CREATE DATABASE test;USE test;
SET SESSION AUTOCOMMIT=0;
SET @@global.
CREATE TABLE t1(c1 INT UNSIGNED);
FLUSH LOCAL TABLES t1 WITH READ LOCK;
CHANGE MASTER TO MASTER_
**** GDB info
#0 0x00007f6d8990a771 in pthread_kill () from /lib64/
#1 0x0000000000ab7e66 in my_write_core (sig=6) at /mnt/workspace/
#2 0x000000000072fcd3 in handle_fatal_signal (sig=6) at /mnt/workspace/
#3 <signal handler called>
#4 0x00007f6d8850e5c9 in raise () from /lib64/libc.so.6
#5 0x00007f6d8850fcd8 in abort () from /lib64/libc.so.6
#6 0x00007f6d88507536 in __assert_fail_base () from /lib64/libc.so.6
#7 0x00007f6d885075e2 in __assert_fail () from /lib64/libc.so.6
#8 0x0000000000957dd0 in Global_
#9 0x0000000000a66061 in global_init_info (mi=0x7f6ce8f9f000, ignore_
#10 0x0000000000a7b94a in change_master (thd=0x7f6ce8e3
#11 0x00000000007e3a41 in mysql_execute_
#12 0x00000000007ed49f in mysql_parse (thd=0x7f6ce8e3
#13 0x00000000007df8be in dispatch_command (command=COM_QUERY, thd=0x7f6ce8e3a000, packet=
#14 0x00000000007de7dc in do_command (thd=0x7f6ce8e3
#15 0x00000000007a6785 in do_handle_
#16 0x00000000007a628d in handle_
#17 0x0000000000dc648c in pfs_spawn_thread (arg=0x7f6d82f4
#18 0x00007f6d89905df3 in start_thread () from /lib64/
#19 0x00007f6d885cf01d in clone () from /lib64/libc.so.6
(gdb) +set logging off
tags: | added: backup-locks |
Fixed by https:/ /github. com/percona/ percona- server/ pull/27