Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.4(EOL)
-
None
Description
Note: It's most likely the same problem as MDEV-18067, but since the assertion is different, I'm filing it separately just in case.
CREATE TABLE t1 (a INT); |
|
BACKUP STAGE START;
|
FLUSH TABLE t1 FOR EXPORT; |
UNLOCK TABLES;
|
|
--connect (con1,localhost,root,,test)
|
BACKUP STAGE START;
|
|
--connection default
|
BACKUP STAGE END; |
|
# Cleanup
|
--connection con1
|
BACKUP STAGE END; |
--disconnect con1
|
--connection default
|
DROP TABLE t1; |
10.4 a8eb0c76b debug |
mysqld: /data/src/10.4/sql/mdl.cc:2831: void MDL_context::release_lock(enum_mdl_duration, MDL_ticket*): Assertion `this == ticket->get_ctx()' failed.
|
181224 17:51:49 [ERROR] mysqld got signal 6 ;
|
|
#7 0x00007f64df92bee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
|
#8 0x000055b996bd8c74 in MDL_context::release_lock (this=0x7f64c8000c20, duration=MDL_EXPLICIT, ticket=0x7f64bc01ac90) at /data/src/10.4/sql/mdl.cc:2831
|
#9 0x000055b996bd8d63 in MDL_context::release_lock (this=0x7f64c8000c20, ticket=0x7f64bc01ac90) at /data/src/10.4/sql/mdl.cc:2853
|
#10 0x000055b996cadedb in backup_end (thd=0x7f64c8000b00) at /data/src/10.4/sql/backup.cc:308
|
#11 0x000055b996cad894 in run_backup_stage (thd=0x7f64c8000b00, stage=BACKUP_END) at /data/src/10.4/sql/backup.cc:119
|
#12 0x000055b996a6b94b in mysql_execute_command (thd=0x7f64c8000b00) at /data/src/10.4/sql/sql_parse.cc:5233
|
#13 0x000055b996a748e4 in mysql_parse (thd=0x7f64c8000b00, rawbuf=0x7f64c8014f98 "BACKUP STAGE END", length=16, parser_state=0x7f64d9abd600, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:8104
|
#14 0x000055b996a61b0e in dispatch_command (command=COM_QUERY, thd=0x7f64c8000b00, packet=0x7f64c800b421 "BACKUP STAGE END", packet_length=16, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1851
|
#15 0x000055b996a60532 in do_command (thd=0x7f64c8000b00) at /data/src/10.4/sql/sql_parse.cc:1396
|
#16 0x000055b996bcc6de in do_handle_one_connection (connect=0x55b9993c06a0) at /data/src/10.4/sql/sql_connect.cc:1402
|
#17 0x000055b996bcc462 in handle_one_connection (arg=0x55b9993c06a0) at /data/src/10.4/sql/sql_connect.cc:1308
|
#18 0x000055b99708b338 in pfs_spawn_thread (arg=0x55b999304960) at /data/src/10.4/storage/perfschema/pfs.cc:1862
|
#19 0x00007f64e13e7494 in start_thread (arg=0x7f64d9abe700) at pthread_create.c:333
|
#20 0x00007f64df9e893f in clone () from /lib/x86_64-linux-gnu/libc.so.6
|
Non-debug build produces the same SIGSEGV as MDEV-18087:
10.4 a8eb0c76b non-debug |
#5 <signal handler called>
|
#6 0x0000000000000055 in ?? ()
|
#7 0x0000558f1155a24f in backup_end (thd=0x7f9db00009a8) at /data/src/10.4/sql/backup.cc:308
|
#8 0x0000558f1155a2d8 in run_backup_stage (thd=0x7f9db00009a8, stage=BACKUP_END) at /data/src/10.4/sql/backup.cc:119
|
#9 0x0000558f113f4399 in mysql_execute_command (thd=0x7f9db00009a8) at /data/src/10.4/sql/sql_parse.cc:5233
|
#10 0x0000558f113fa9a1 in mysql_parse (thd=0x7f9db00009a8, rawbuf=<optimized out>, length=16, parser_state=0x7f9dccc9d640, is_com_multi=<optimized out>, is_next_command=<optimized out>) at /data/src/10.4/sql/sql_parse.cc:8104
|
#11 0x0000558f113fd315 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x7f9db00009a8, packet=packet@entry=0x7f9db0009559 "BACKUP STAGE END", packet_length=packet_length@entry=16, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /data/src/10.4/sql/sql_parse.cc:1851
|
#12 0x0000558f113fdca0 in do_command (thd=0x7f9db00009a8) at /data/src/10.4/sql/sql_parse.cc:1396
|
#13 0x0000558f114cfd54 in do_handle_one_connection (connect=connect@entry=0x558f149900c8) at /data/src/10.4/sql/sql_connect.cc:1402
|
#14 0x0000558f114cfef4 in handle_one_connection (arg=arg@entry=0x558f149900c8) at /data/src/10.4/sql/sql_connect.cc:1308
|
#15 0x0000558f117c65a4 in pfs_spawn_thread (arg=0x558f14990668) at /data/src/10.4/storage/perfschema/pfs.cc:1862
|
#16 0x00007f9dd4613494 in start_thread (arg=0x7f9dccc9e700) at pthread_create.c:333
|
#17 0x00007f9dd2c1493f in clone () from /lib/x86_64-linux-gnu/libc.so.6
|
Attachments
Issue Links
- causes
-
MDEV-20867 Perform careful review of "Server crashes with BACKUP STAGE and FLUSH TABLE table_name"
-
- Closed
-
- is caused by
-
MDEV-5336 Implement BACKUP STAGE for safe external backups
-
- Closed
-
- relates to
-
MDEV-18067 Server crash in backup_end or assertion failure `ticket->m_duration == MDL_EXPLICIT' upon BACKUP STAGE END after FLUSH TABLE with locks
-
- Closed
-
-
MDEV-15481 [Draft] Server crashed in I_P_List<MDL_ticket, I_P_List_adapter<MDL_ticket, &MDL_ticket::next_in_lock, &MDL_ticket::prev_in_lock>, I_P_List_null_counter, I_P_List_fast_push_back<MDL_ticket> >::remove
-
- Closed
-
-
MDEV-18069 Server hang or crash in MDL_lock::incompatible_granted_types_bitmap or ASAN heap-use-after-free in MDL_ticket::has_stronger_or_equal_type
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Description |
{noformat:title=10.4 a8eb0c76bf7}
mysqld: /data/src/10.4/sql/mdl.cc:2831: void MDL_context::release_lock(enum_mdl_duration, MDL_ticket*): Assertion `this == ticket->get_ctx()' failed. 181223 21:46:22 [ERROR] mysqld got signal 6 ; #7 0x00007f8b0ae70ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6 #8 0x0000563125d9bc74 in MDL_context::release_lock (this=0x7f8a90000c20, duration=MDL_EXPLICIT, ticket=0x7f8a8c023030) at /data/src/10.4/sql/mdl.cc:2831 #9 0x0000563125d9bd63 in MDL_context::release_lock (this=0x7f8a90000c20, ticket=0x7f8a8c023030) at /data/src/10.4/sql/mdl.cc:2853 #10 0x0000563125e70edb in backup_end (thd=0x7f8a90000b00) at /data/src/10.4/sql/backup.cc:308 #11 0x0000563125e70894 in run_backup_stage (thd=0x7f8a90000b00, stage=BACKUP_END) at /data/src/10.4/sql/backup.cc:119 #12 0x0000563125c2e94b in mysql_execute_command (thd=0x7f8a90000b00) at /data/src/10.4/sql/sql_parse.cc:5233 #13 0x0000563125c378e4 in mysql_parse (thd=0x7f8a90000b00, rawbuf=0x7f8a90013b88 "BACKUP STAGE END /* QNO 22476 CON_ID 16 */", length=42, parser_state=0x7f8b08156650, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:8104 #14 0x0000563125c24b0e in dispatch_command (command=COM_QUERY, thd=0x7f8a90000b00, packet=0x7f8a9000b321 "BACKUP STAGE END /* QNO 22476 CON_ID 16 */ ", packet_length=43, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1851 #15 0x0000563125c23532 in do_command (thd=0x7f8a90000b00) at /data/src/10.4/sql/sql_parse.cc:1396 #16 0x0000563125d8f6de in do_handle_one_connection (connect=0x56312900c050) at /data/src/10.4/sql/sql_connect.cc:1402 #17 0x0000563125d8f462 in handle_one_connection (arg=0x56312900c050) at /data/src/10.4/sql/sql_connect.cc:1308 #18 0x00007f8b0c92c494 in start_thread (arg=0x7f8b08157700) at pthread_create.c:333 #19 0x00007f8b0af2d93f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Query (0x7f8a90013b88): BACKUP STAGE END /* QNO 22476 CON_ID 16 */ Connection ID (thread ID): 96 Status: NOT_KILLED {noformat} {noformat:title=elenst-dev df3fbc8be480} perl ./runall-new.pl --basedir=/home/travis/server/10.4 --vardir=/home/travis/logs/vardir4 --duration=350 --threads=6 --seed=1545592040 --reporters=Backtrace,ErrorLog,Deadlock --redefine=conf/mariadb/alter_table.yy --redefine=conf/mariadb/instant_add.yy --redefine=conf/mariadb/sp.yy --redefine=conf/mariadb/bulk_insert.yy --redefine=conf/mariadb/sequences.yy --redefine=conf/mariadb/modules/admin.yy --redefine=conf/mariadb/modules/userstat.yy --redefine=conf/mariadb/modules/foreign_keys.yy --redefine=conf/mariadb/modules/locks-10.4.yy --mysqld=--log_output=FILE --mysqld=--max-statement-time=30 --mysqld=--lock-wait-timeout=10 --mysqld=--loose-innodb-lock-wait-timeout=5 --mysqld=--loose-debug_assert_on_not_freed_memory=0 --grammar=conf/engines/many_indexes.yy --gendata=conf/engines/many_indexes.zz --skip-gendata --gendata-advanced {noformat} Not reproducible easily, among other things, |
{noformat:title=10.4 a8eb0c76bf7}
mysqld: /data/src/10.4/sql/mdl.cc:2831: void MDL_context::release_lock(enum_mdl_duration, MDL_ticket*): Assertion `this == ticket->get_ctx()' failed. 181223 21:46:22 [ERROR] mysqld got signal 6 ; #7 0x00007f8b0ae70ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6 #8 0x0000563125d9bc74 in MDL_context::release_lock (this=0x7f8a90000c20, duration=MDL_EXPLICIT, ticket=0x7f8a8c023030) at /data/src/10.4/sql/mdl.cc:2831 #9 0x0000563125d9bd63 in MDL_context::release_lock (this=0x7f8a90000c20, ticket=0x7f8a8c023030) at /data/src/10.4/sql/mdl.cc:2853 #10 0x0000563125e70edb in backup_end (thd=0x7f8a90000b00) at /data/src/10.4/sql/backup.cc:308 #11 0x0000563125e70894 in run_backup_stage (thd=0x7f8a90000b00, stage=BACKUP_END) at /data/src/10.4/sql/backup.cc:119 #12 0x0000563125c2e94b in mysql_execute_command (thd=0x7f8a90000b00) at /data/src/10.4/sql/sql_parse.cc:5233 #13 0x0000563125c378e4 in mysql_parse (thd=0x7f8a90000b00, rawbuf=0x7f8a90013b88 "BACKUP STAGE END /* QNO 22476 CON_ID 16 */", length=42, parser_state=0x7f8b08156650, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:8104 #14 0x0000563125c24b0e in dispatch_command (command=COM_QUERY, thd=0x7f8a90000b00, packet=0x7f8a9000b321 "BACKUP STAGE END /* QNO 22476 CON_ID 16 */ ", packet_length=43, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1851 #15 0x0000563125c23532 in do_command (thd=0x7f8a90000b00) at /data/src/10.4/sql/sql_parse.cc:1396 #16 0x0000563125d8f6de in do_handle_one_connection (connect=0x56312900c050) at /data/src/10.4/sql/sql_connect.cc:1402 #17 0x0000563125d8f462 in handle_one_connection (arg=0x56312900c050) at /data/src/10.4/sql/sql_connect.cc:1308 #18 0x00007f8b0c92c494 in start_thread (arg=0x7f8b08157700) at pthread_create.c:333 #19 0x00007f8b0af2d93f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Query (0x7f8a90013b88): BACKUP STAGE END /* QNO 22476 CON_ID 16 */ Connection ID (thread ID): 96 Status: NOT_KILLED {noformat} {noformat:title=elenst-dev df3fbc8be480} perl ./runall-new.pl --basedir=/home/travis/server/10.4 --vardir=/home/travis/logs/vardir4 --duration=350 --threads=6 --seed=1545592040 --reporters=Backtrace,ErrorLog,Deadlock --redefine=conf/mariadb/alter_table.yy --redefine=conf/mariadb/instant_add.yy --redefine=conf/mariadb/sp.yy --redefine=conf/mariadb/bulk_insert.yy --redefine=conf/mariadb/sequences.yy --redefine=conf/mariadb/modules/admin.yy --redefine=conf/mariadb/modules/userstat.yy --redefine=conf/mariadb/modules/foreign_keys.yy --redefine=conf/mariadb/modules/locks-10.4.yy --mysqld=--log_output=FILE --mysqld=--max-statement-time=30 --mysqld=--lock-wait-timeout=10 --mysqld=--loose-innodb-lock-wait-timeout=5 --mysqld=--loose-debug_assert_on_not_freed_memory=0 --grammar=conf/engines/many_indexes.yy --gendata=conf/engines/many_indexes.zz --skip-gendata --gendata-advanced {noformat} {color:red}Not reproducible easily, among other things |
Fix Version/s | 10.4 [ 22408 ] | |
Assignee | Elena Stepanova [ elenst ] | Michael Widenius [ monty ] |
Description |
{noformat:title=10.4 a8eb0c76bf7}
mysqld: /data/src/10.4/sql/mdl.cc:2831: void MDL_context::release_lock(enum_mdl_duration, MDL_ticket*): Assertion `this == ticket->get_ctx()' failed. 181223 21:46:22 [ERROR] mysqld got signal 6 ; #7 0x00007f8b0ae70ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6 #8 0x0000563125d9bc74 in MDL_context::release_lock (this=0x7f8a90000c20, duration=MDL_EXPLICIT, ticket=0x7f8a8c023030) at /data/src/10.4/sql/mdl.cc:2831 #9 0x0000563125d9bd63 in MDL_context::release_lock (this=0x7f8a90000c20, ticket=0x7f8a8c023030) at /data/src/10.4/sql/mdl.cc:2853 #10 0x0000563125e70edb in backup_end (thd=0x7f8a90000b00) at /data/src/10.4/sql/backup.cc:308 #11 0x0000563125e70894 in run_backup_stage (thd=0x7f8a90000b00, stage=BACKUP_END) at /data/src/10.4/sql/backup.cc:119 #12 0x0000563125c2e94b in mysql_execute_command (thd=0x7f8a90000b00) at /data/src/10.4/sql/sql_parse.cc:5233 #13 0x0000563125c378e4 in mysql_parse (thd=0x7f8a90000b00, rawbuf=0x7f8a90013b88 "BACKUP STAGE END /* QNO 22476 CON_ID 16 */", length=42, parser_state=0x7f8b08156650, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:8104 #14 0x0000563125c24b0e in dispatch_command (command=COM_QUERY, thd=0x7f8a90000b00, packet=0x7f8a9000b321 "BACKUP STAGE END /* QNO 22476 CON_ID 16 */ ", packet_length=43, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1851 #15 0x0000563125c23532 in do_command (thd=0x7f8a90000b00) at /data/src/10.4/sql/sql_parse.cc:1396 #16 0x0000563125d8f6de in do_handle_one_connection (connect=0x56312900c050) at /data/src/10.4/sql/sql_connect.cc:1402 #17 0x0000563125d8f462 in handle_one_connection (arg=0x56312900c050) at /data/src/10.4/sql/sql_connect.cc:1308 #18 0x00007f8b0c92c494 in start_thread (arg=0x7f8b08157700) at pthread_create.c:333 #19 0x00007f8b0af2d93f in clone () from /lib/x86_64-linux-gnu/libc.so.6 Query (0x7f8a90013b88): BACKUP STAGE END /* QNO 22476 CON_ID 16 */ Connection ID (thread ID): 96 Status: NOT_KILLED {noformat} {noformat:title=elenst-dev df3fbc8be480} perl ./runall-new.pl --basedir=/home/travis/server/10.4 --vardir=/home/travis/logs/vardir4 --duration=350 --threads=6 --seed=1545592040 --reporters=Backtrace,ErrorLog,Deadlock --redefine=conf/mariadb/alter_table.yy --redefine=conf/mariadb/instant_add.yy --redefine=conf/mariadb/sp.yy --redefine=conf/mariadb/bulk_insert.yy --redefine=conf/mariadb/sequences.yy --redefine=conf/mariadb/modules/admin.yy --redefine=conf/mariadb/modules/userstat.yy --redefine=conf/mariadb/modules/foreign_keys.yy --redefine=conf/mariadb/modules/locks-10.4.yy --mysqld=--log_output=FILE --mysqld=--max-statement-time=30 --mysqld=--lock-wait-timeout=10 --mysqld=--loose-innodb-lock-wait-timeout=5 --mysqld=--loose-debug_assert_on_not_freed_memory=0 --grammar=conf/engines/many_indexes.yy --gendata=conf/engines/many_indexes.zz --skip-gendata --gendata-advanced {noformat} {color:red}Not reproducible easily, among other things |
_Note: It's most likely the same problem as {code:sql} CREATE TABLE t1 (a INT); BACKUP STAGE START; FLUSH TABLE t1 FOR EXPORT; UNLOCK TABLES; --connect (con1,localhost,root,,test) BACKUP STAGE START; --connection default BACKUP STAGE END; # Cleanup --connection con1 BACKUP STAGE END; --disconnect con1 --connection default DROP TABLE t1; {code} {noformat:title=10.4 a8eb0c76b debug} mysqld: /data/src/10.4/sql/mdl.cc:2831: void MDL_context::release_lock(enum_mdl_duration, MDL_ticket*): Assertion `this == ticket->get_ctx()' failed. 181224 17:51:49 [ERROR] mysqld got signal 6 ; #7 0x00007f64df92bee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6 #8 0x000055b996bd8c74 in MDL_context::release_lock (this=0x7f64c8000c20, duration=MDL_EXPLICIT, ticket=0x7f64bc01ac90) at /data/src/10.4/sql/mdl.cc:2831 #9 0x000055b996bd8d63 in MDL_context::release_lock (this=0x7f64c8000c20, ticket=0x7f64bc01ac90) at /data/src/10.4/sql/mdl.cc:2853 #10 0x000055b996cadedb in backup_end (thd=0x7f64c8000b00) at /data/src/10.4/sql/backup.cc:308 #11 0x000055b996cad894 in run_backup_stage (thd=0x7f64c8000b00, stage=BACKUP_END) at /data/src/10.4/sql/backup.cc:119 #12 0x000055b996a6b94b in mysql_execute_command (thd=0x7f64c8000b00) at /data/src/10.4/sql/sql_parse.cc:5233 #13 0x000055b996a748e4 in mysql_parse (thd=0x7f64c8000b00, rawbuf=0x7f64c8014f98 "BACKUP STAGE END", length=16, parser_state=0x7f64d9abd600, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:8104 #14 0x000055b996a61b0e in dispatch_command (command=COM_QUERY, thd=0x7f64c8000b00, packet=0x7f64c800b421 "BACKUP STAGE END", packet_length=16, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1851 #15 0x000055b996a60532 in do_command (thd=0x7f64c8000b00) at /data/src/10.4/sql/sql_parse.cc:1396 #16 0x000055b996bcc6de in do_handle_one_connection (connect=0x55b9993c06a0) at /data/src/10.4/sql/sql_connect.cc:1402 #17 0x000055b996bcc462 in handle_one_connection (arg=0x55b9993c06a0) at /data/src/10.4/sql/sql_connect.cc:1308 #18 0x000055b99708b338 in pfs_spawn_thread (arg=0x55b999304960) at /data/src/10.4/storage/perfschema/pfs.cc:1862 #19 0x00007f64e13e7494 in start_thread (arg=0x7f64d9abe700) at pthread_create.c:333 #20 0x00007f64df9e893f in clone () from /lib/x86_64-linux-gnu/libc.so.6 {noformat} Non-debug build produces the same SIGSEGV as {noformat:title=10.4 a8eb0c76b non-debug} #5 <signal handler called> #6 0x0000000000000055 in ?? () #7 0x0000558f1155a24f in backup_end (thd=0x7f9db00009a8) at /data/src/10.4/sql/backup.cc:308 #8 0x0000558f1155a2d8 in run_backup_stage (thd=0x7f9db00009a8, stage=BACKUP_END) at /data/src/10.4/sql/backup.cc:119 #9 0x0000558f113f4399 in mysql_execute_command (thd=0x7f9db00009a8) at /data/src/10.4/sql/sql_parse.cc:5233 #10 0x0000558f113fa9a1 in mysql_parse (thd=0x7f9db00009a8, rawbuf=<optimized out>, length=16, parser_state=0x7f9dccc9d640, is_com_multi=<optimized out>, is_next_command=<optimized out>) at /data/src/10.4/sql/sql_parse.cc:8104 #11 0x0000558f113fd315 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x7f9db00009a8, packet=packet@entry=0x7f9db0009559 "BACKUP STAGE END", packet_length=packet_length@entry=16, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /data/src/10.4/sql/sql_parse.cc:1851 #12 0x0000558f113fdca0 in do_command (thd=0x7f9db00009a8) at /data/src/10.4/sql/sql_parse.cc:1396 #13 0x0000558f114cfd54 in do_handle_one_connection (connect=connect@entry=0x558f149900c8) at /data/src/10.4/sql/sql_connect.cc:1402 #14 0x0000558f114cfef4 in handle_one_connection (arg=arg@entry=0x558f149900c8) at /data/src/10.4/sql/sql_connect.cc:1308 #15 0x0000558f117c65a4 in pfs_spawn_thread (arg=0x558f14990668) at /data/src/10.4/storage/perfschema/pfs.cc:1862 #16 0x00007f9dd4613494 in start_thread (arg=0x7f9dccc9e700) at pthread_create.c:333 #17 0x00007f9dd2c1493f in clone () from /lib/x86_64-linux-gnu/libc.so.6 {noformat} |
Summary | [Draft] Assertion `this == ticket->get_ctx()' failed in MDL_context::release_lock | Assertion `this == ticket->get_ctx()' failed in MDL_context::release_lock upon BACKUP STAGE END |
Attachment | mysql.log.gz [ 46874 ] |
Attachment | threads [ 46873 ] |
Link |
This issue relates to |
Link |
This issue relates to |
Status | Open [ 1 ] | In Progress [ 3 ] |
Fix Version/s | 10.4.10 [ 23907 ] | |
Fix Version/s | 10.5.0 [ 23709 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Link |
This issue causes |
Fix Version/s | 10.4.9 [ 23906 ] | |
Fix Version/s | 10.5.0 [ 23709 ] | |
Fix Version/s | 10.4.10 [ 23907 ] |
Link |
This issue relates to |
Link | This issue relates to MENT-438 [ MENT-438 ] |
Workflow | MariaDB v3 [ 91382 ] | MariaDB v4 [ 155396 ] |
The problem was that "FLUSH TABLES table_name" combined with UNLOCK TABLES
calls MDL_context::set_transaction_duration_for_all_locks(), which
changed backup_locks from MDL_EXPLICT to MDL_TRANSACTION.
Fixed by ensuring that set_transaction_duration_for_all_locks() doesn't
touch BACKUP locks.