Details
-
Bug
-
Status: Stalled (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.1(EOL), 10.2(EOL), 10.3(EOL), 10.4(EOL), 10.5
-
None
Description
mysqld: /10.2/sql/log_event.cc:5144: int Query_log_event::do_apply_event(rpl_group_info*, const char*, uint32): Assertion `!current_stmt_is_commit || !rgi->tables_to_lock' failed.
|
200724 13:14:41 [ERROR] mysqld got signal 6 ;
|
|
Server version: 10.2.33-MariaDB-debug-log
|
|
linux/raise.c:51(__GI_raise)[0x7f82824f87bb]
|
stdlib/abort.c:81(__GI_abort)[0x7f82824e3535]
|
intl/loadmsgcat.c:1177(_nl_load_domain)[0x7f82824e340f]
|
/lib/x86_64-linux-gnu/libc.so.6(+0x30102)[0x7f82824f1102]
|
sql/log_event.cc:5145(Query_log_event::do_apply_event(rpl_group_info*, char const*, unsigned int))[0x55dab3df36ee]
|
sql/log_event.cc:5040(Query_log_event::do_apply_event(rpl_group_info*))[0x55dab3df3325]
|
sql/log_event.h:1452(Log_event::apply_event(rpl_group_info*))[0x55dab39a97d3]
|
sql/slave.cc:3567(apply_event_and_update_pos_apply(Log_event*, THD*, rpl_group_info*, int))[0x55dab399e6d5]
|
sql/slave.cc:3763(apply_event_and_update_pos_for_parallel(Log_event*, THD*, rpl_group_info*))[0x55dab399eced]
|
sql/rpl_parallel.cc:50(rpt_handle_event(rpl_parallel_thread::queued_event*, rpl_parallel_thread*))[0x55dab3c1b60a]
|
sql/rpl_parallel.cc:1316(handle_rpl_parallel_thread)[0x55dab3c1e6b5]
|
nptl/pthread_create.c:487(start_thread)[0x7f8282c36fa3]
|
x86_64/clone.S:97(clone)[0x7f82825ba4cf]
|
|
Datadir from master and slave attached.
The assertion is reproducible on 10.5 30c9833751529d4039 (I haven't checked versions before 10.5 yet). To reproduce I started slave with (default cnf+ --slave-skip-errors=all) and then pointed it in binlog from master, where the problem occurred :
change master to master_host='localhost', master_port=3306, master_user='root', MASTER_LOG_FILE='mysql-bin.000001', MASTER_LOG_POS=1728186; start slave; |
Attachments
Issue Links
- relates to
-
MDEV-8203 Assertion `!current_stmt_is_commit || !rgi->tables_to_lock' failed in Query_log_event::do_apply_event(rpl_group_info*, const char*, uint32)
-
- Closed
-
-
MDEV-19302 Assertion `!current_stmt_is_commit || !rgi->tables_to_lock' failed in Query_log_event::do_apply_event
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Description |
{noformat}
2020-04-22 13:07:22 5 [Note] Slave I/O thread: Start asynchronous replication to master 'root@localhost:3306' in log 'mysql-bin.000001' at position 1728186 2020-04-22 13:07:22 6 [Note] Slave SQL thread initialized, starting replication in log 'mysql-bin.000001' at position 1728186, relay log './p-relay-bin.000001' position: 4 2020-04-22 13:07:22 5 [Note] Slave I/O thread: connected to master 'root@localhost:3306',replication started in log 'mysql-bin.000001' at position 1728186 mysqld: /10.5/src/sql/log_event_server.cc:1662: int Query_log_event::do_apply_event(rpl_group_info*, const char*, uint32): Assertion `!current_stmt_is_commit || !rgi->tables_to_lock' failed. 200422 13:07:22 [ERROR] mysqld got signal 6 ; linux/raise.c:54(__GI_raise)[0x7efebda44428] stdlib/abort.c:91(__GI_abort)[0x7efebda4602a] assert/assert.c:92(__assert_fail_base)[0x7efebda3cbd7] ??:0(__assert_fail)[0x7efebda3cc82] sql/sql_yacc_ora.yy:14961(ORAparse(THD*))[0x14bc419] sql/sql_yacc_ora.yy:14826(ORAparse(THD*))[0x14bb955] .../mysqld(_ZN9Log_event11apply_eventEP14rpl_group_info+0xbf)[0x7e4b07] .../mysqld[0x7ca474] .../mysqld(_Z26apply_event_and_update_posP9Log_eventP3THDP14rpl_group_info+0x38b)[0x7caeee] .../mysqld[0x7cc485] .../mysqld(handle_slave_sql+0x1deb)[0x7d29a1] sql/sql_partition.cc:766(check_signed_flag(partition_info*))[0x19f836e] ??:0(start_thread)[0x7efebe8856ba] x86_64/clone.S:111(clone)[0x7efebdb1641d] {noformat} Datadir from master and slave attached. (from 10.5-enterprise) The assertion is reproducible on 10.5 30c9833751529d4039 (I haven't checked versions before 10.5 yet). To reproduce I started slave with (default cnf+ --slave-skip-errors=all) and then executed in mysql client: {code:sql} change master to master_host='localhost', master_port=3306, master_user='root', MASTER_LOG_FILE='mysql-bin.000001', MASTER_LOG_POS=1728186; start slave; {code} |
{noformat}
2020-04-22 13:07:22 5 [Note] Slave I/O thread: Start asynchronous replication to master 'root@localhost:3306' in log 'mysql-bin.000001' at position 1728186 2020-04-22 13:07:22 6 [Note] Slave SQL thread initialized, starting replication in log 'mysql-bin.000001' at position 1728186, relay log './p-relay-bin.000001' position: 4 2020-04-22 13:07:22 5 [Note] Slave I/O thread: connected to master 'root@localhost:3306',replication started in log 'mysql-bin.000001' at position 1728186 mysqld: /10.5/src/sql/log_event_server.cc:1662: int Query_log_event::do_apply_event(rpl_group_info*, const char*, uint32): Assertion `!current_stmt_is_commit || !rgi->tables_to_lock' failed. 200422 13:07:22 [ERROR] mysqld got signal 6 ; linux/raise.c:54(__GI_raise)[0x7efebda44428] stdlib/abort.c:91(__GI_abort)[0x7efebda4602a] assert/assert.c:92(__assert_fail_base)[0x7efebda3cbd7] ??:0(__assert_fail)[0x7efebda3cc82] sql/sql_yacc_ora.yy:14961(ORAparse(THD*))[0x14bc419] sql/sql_yacc_ora.yy:14826(ORAparse(THD*))[0x14bb955] .../mysqld(_ZN9Log_event11apply_eventEP14rpl_group_info+0xbf)[0x7e4b07] .../mysqld[0x7ca474] .../mysqld(_Z26apply_event_and_update_posP9Log_eventP3THDP14rpl_group_info+0x38b)[0x7caeee] .../mysqld[0x7cc485] .../mysqld(handle_slave_sql+0x1deb)[0x7d29a1] sql/sql_partition.cc:766(check_signed_flag(partition_info*))[0x19f836e] ??:0(start_thread)[0x7efebe8856ba] x86_64/clone.S:111(clone)[0x7efebdb1641d] {noformat} Datadir from master and slave attached. (from 10.5-enterprise) The assertion is reproducible on 10.5 30c9833751529d4039 (I haven't checked versions before 10.5 yet). To reproduce I started slave with (default cnf+ --slave-skip-errors=all) and then pointed it in binlog from master, where the problem occurred : {code:sql} change master to master_host='localhost', master_port=3306, master_user='root', MASTER_LOG_FILE='mysql-bin.000001', MASTER_LOG_POS=1728186; start slave; {code} |
Attachment | data.7z [ 51376 ] |
Attachment | mysql-bin.000001 [ 51377 ] |
Link |
This issue relates to |
Assignee | Alice Sherepa [ alice ] | Sujatha Sivakumar [ sujatha.sivakumar ] |
Status | Open [ 1 ] | Confirmed [ 10101 ] |
Status | Confirmed [ 10101 ] | In Progress [ 3 ] |
Affects Version/s | 10.2 [ 14601 ] | |
Affects Version/s | 10.3 [ 22126 ] | |
Affects Version/s | 10.4 [ 22408 ] |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.5 [ 23123 ] |
Assignee | Sujatha Sivakumar [ sujatha.sivakumar ] | Alice Sherepa [ alice ] |
Attachment | 2p.7z [ 52970 ] |
Attachment | mysql-bin.000001 [ 51377 ] |
Attachment | data.7z [ 51376 ] |
Description |
{noformat}
2020-04-22 13:07:22 5 [Note] Slave I/O thread: Start asynchronous replication to master 'root@localhost:3306' in log 'mysql-bin.000001' at position 1728186 2020-04-22 13:07:22 6 [Note] Slave SQL thread initialized, starting replication in log 'mysql-bin.000001' at position 1728186, relay log './p-relay-bin.000001' position: 4 2020-04-22 13:07:22 5 [Note] Slave I/O thread: connected to master 'root@localhost:3306',replication started in log 'mysql-bin.000001' at position 1728186 mysqld: /10.5/src/sql/log_event_server.cc:1662: int Query_log_event::do_apply_event(rpl_group_info*, const char*, uint32): Assertion `!current_stmt_is_commit || !rgi->tables_to_lock' failed. 200422 13:07:22 [ERROR] mysqld got signal 6 ; linux/raise.c:54(__GI_raise)[0x7efebda44428] stdlib/abort.c:91(__GI_abort)[0x7efebda4602a] assert/assert.c:92(__assert_fail_base)[0x7efebda3cbd7] ??:0(__assert_fail)[0x7efebda3cc82] sql/sql_yacc_ora.yy:14961(ORAparse(THD*))[0x14bc419] sql/sql_yacc_ora.yy:14826(ORAparse(THD*))[0x14bb955] .../mysqld(_ZN9Log_event11apply_eventEP14rpl_group_info+0xbf)[0x7e4b07] .../mysqld[0x7ca474] .../mysqld(_Z26apply_event_and_update_posP9Log_eventP3THDP14rpl_group_info+0x38b)[0x7caeee] .../mysqld[0x7cc485] .../mysqld(handle_slave_sql+0x1deb)[0x7d29a1] sql/sql_partition.cc:766(check_signed_flag(partition_info*))[0x19f836e] ??:0(start_thread)[0x7efebe8856ba] x86_64/clone.S:111(clone)[0x7efebdb1641d] {noformat} Datadir from master and slave attached. (from 10.5-enterprise) The assertion is reproducible on 10.5 30c9833751529d4039 (I haven't checked versions before 10.5 yet). To reproduce I started slave with (default cnf+ --slave-skip-errors=all) and then pointed it in binlog from master, where the problem occurred : {code:sql} change master to master_host='localhost', master_port=3306, master_user='root', MASTER_LOG_FILE='mysql-bin.000001', MASTER_LOG_POS=1728186; start slave; {code} |
{noformat}
mysqld: /10.2/sql/log_event.cc:5144: int Query_log_event::do_apply_event(rpl_group_info*, const char*, uint32): Assertion `!current_stmt_is_commit || !rgi->tables_to_lock' failed. 200724 13:14:41 [ERROR] mysqld got signal 6 ; Server version: 10.2.33-MariaDB-debug-log linux/raise.c:51(__GI_raise)[0x7f82824f87bb] stdlib/abort.c:81(__GI_abort)[0x7f82824e3535] intl/loadmsgcat.c:1177(_nl_load_domain)[0x7f82824e340f] /lib/x86_64-linux-gnu/libc.so.6(+0x30102)[0x7f82824f1102] sql/log_event.cc:5145(Query_log_event::do_apply_event(rpl_group_info*, char const*, unsigned int))[0x55dab3df36ee] sql/log_event.cc:5040(Query_log_event::do_apply_event(rpl_group_info*))[0x55dab3df3325] sql/log_event.h:1452(Log_event::apply_event(rpl_group_info*))[0x55dab39a97d3] sql/slave.cc:3567(apply_event_and_update_pos_apply(Log_event*, THD*, rpl_group_info*, int))[0x55dab399e6d5] sql/slave.cc:3763(apply_event_and_update_pos_for_parallel(Log_event*, THD*, rpl_group_info*))[0x55dab399eced] sql/rpl_parallel.cc:50(rpt_handle_event(rpl_parallel_thread::queued_event*, rpl_parallel_thread*))[0x55dab3c1b60a] sql/rpl_parallel.cc:1316(handle_rpl_parallel_thread)[0x55dab3c1e6b5] nptl/pthread_create.c:487(start_thread)[0x7f8282c36fa3] x86_64/clone.S:97(clone)[0x7f82825ba4cf] {noformat} Datadir from master and slave attached. The assertion is reproducible on 10.5 30c9833751529d4039 (I haven't checked versions before 10.5 yet). To reproduce I started slave with (default cnf+ --slave-skip-errors=all) and then pointed it in binlog from master, where the problem occurred : {code:sql} change master to master_host='localhost', master_port=3306, master_user='root', MASTER_LOG_FILE='mysql-bin.000001', MASTER_LOG_POS=1728186; start slave; {code} |
Attachment | 2p.7z [ 52970 ] |
Affects Version/s | 10.1 [ 16100 ] | |
Affects Version/s | 10.3 [ 22126 ] | |
Affects Version/s | 10.4 [ 22408 ] | |
Affects Version/s | 10.5 [ 23123 ] |
Fix Version/s | 10.1 [ 16100 ] |
Assignee | Alice Sherepa [ alice ] | Sujatha Sivakumar [ sujatha.sivakumar ] |
Assignee | Sujatha Sivakumar [ sujatha.sivakumar ] | Andrei Elkin [ elkin ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Affects Version/s | 10.3 [ 22126 ] | |
Affects Version/s | 10.4 [ 22408 ] | |
Affects Version/s | 10.5 [ 23123 ] |
Fix Version/s | 10.3 [ 22126 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.5 [ 23123 ] |
Link | This issue blocks CLX-485 [ CLX-485 ] |
Fix Version/s | 10.1 [ 16100 ] |
Assignee | Andrei Elkin [ elkin ] | Sujatha Sivakumar [ sujatha.sivakumar ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Workflow | MariaDB v3 [ 107578 ] | MariaDB v4 [ 143636 ] |
Assignee | Sujatha Sivakumar [ sujatha.sivakumar ] | Brandon Nesterenko [ JIRAUSER48702 ] |
Fix Version/s | 10.2 [ 14601 ] |
Fix Version/s | 10.3 [ 22126 ] |
Fix Version/s | 10.4 [ 22408 ] |
Hello alice,
Please assign this issue back to me along with simplified set of queries.
Thank you.