Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
None
-
None
-
preview-10.10-
MDEV-16329-online-alter
Description
RQG test case
perl gendata.pl --dsn=dbi:mysql:host=127.0.0.1:port=12620:socket=/test/mtest/GAL_MD130622-mariadb-10.10.0-linux-x86_64-dbg/node1/node1_socket.sock:user=root:database=test --spec=conf/mariadb/oltp.zz
|
perl gentest.pl --dsn=dbi:mysql:host=127.0.0.1:port=12620:socket=/test/mtest/GAL_MD130622-mariadb-10.10.0-linux-x86_64-dbg/node1/node1_socket.sock:user=root:database=test --grammar=conf/mariadb/oltp_and_ddl.yy --threads=32 --duration=30000 --queries=1000000000 &
|
Leads to
10.10.0 d7a7d16713070c7c2902c3df4b4f6d024cd0320f (Debug) |
mysqld: /test/mtest/10.10_dbg/sql/wsrep_mysqld.cc:3364: int wsrep_ignored_error_code(Log_event*, int): Assertion `wsrep_thd_is_applying(thd) && !wsrep_thd_is_local_toi(thd)' failed.
|
10.10.0 d7a7d16713070c7c2902c3df4b4f6d024cd0320f (Debug) |
Core was generated by `/test/mtest/GAL_MD130622-mariadb-10.10.0-linux-x86_64-dbg/bin/mysqld --defaults'.
|
Program terminated with signal SIGABRT, Aborted.
|
#0 0x0000000070000002 in ?? ()
|
[Current thread is 1 (Thread 0x44f041de9700 (LWP 170126))]
|
(gdb) bt
|
#0 0x0000000070000002 in ?? ()
|
#1 0x00007a2c7c46f766 in _raw_syscall () at /home/roc/rr/rr/src/preload/raw_syscall.S:120
|
#2 0x00007a2c7c46b04e in traced_raw_syscall (call=<optimized out>) at /home/roc/rr/rr/src/preload/syscallbuf.c:272
|
#3 0x00007a2c7c46e4d1 in syscall_hook_internal (call=0x14c7ddad9fa0) at /home/roc/rr/rr/src/preload/syscallbuf.c:3295
|
#4 syscall_hook (call=0x14c7ddad9fa0) at /home/roc/rr/rr/src/preload/syscallbuf.c:3329
|
#5 0x00007a2c7c46ae50 in _syscall_hook_trampoline () at /home/roc/rr/rr/src/preload/syscall_hook.S:313
|
#6 0x00007a2c7c46aeaf in __morestack () at /home/roc/rr/rr/src/preload/syscall_hook.S:458
|
#7 0x00007a2c7c46af08 in _syscall_hook_trampoline_89_c2_f7_da () at /home/roc/rr/rr/src/preload/syscall_hook.S:504
|
#8 0x00007a2c7c739f0c in __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
|
#9 0x000055f00e1ad6bf in my_write_core (sig=sig@entry=6) at /test/mtest/10.10_dbg/mysys/stacktrace.c:424
|
#10 0x000055f00da532c7 in handle_fatal_signal (sig=6) at /test/mtest/10.10_dbg/sql/signal_handler.cc:345
|
#11 <signal handler called>
|
#12 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
|
#13 0x00007dd04f62d859 in __GI_abort () at abort.c:79
|
#14 0x00007dd04f62d729 in __assert_fail_base (fmt=0x7dd04f7c3588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x55f00e56e650 "wsrep_thd_is_applying(thd) && !wsrep_thd_is_local_toi(thd)", file=0x55f00e56d750 "/test/mtest/10.10_dbg/sql/wsrep_mysqld.cc", line=3364, function=<optimized out>) at assert.c:92
|
#15 0x00007dd04f63ef36 in __GI___assert_fail (assertion=assertion@entry=0x55f00e56e650 "wsrep_thd_is_applying(thd) && !wsrep_thd_is_local_toi(thd)", file=file@entry=0x55f00e56d750 "/test/mtest/10.10_dbg/sql/wsrep_mysqld.cc", line=line@entry=3364, function=function@entry=0x55f00e56e620 "int wsrep_ignored_error_code(Log_event*, int)") at assert.c:101
|
#16 0x000055f00dd2c5a3 in wsrep_ignored_error_code (ev=ev@entry=0x55f01073d868, error=error@entry=1062) at /test/mtest/10.10_dbg/sql/wsrep_mysqld.cc:3364
|
#17 0x000055f00dbdb9cc in Rows_log_event::do_apply_event (this=0x55f01073d868, rgi=<optimized out>) at /test/mtest/10.10_dbg/include/my_bitmap.h:106
|
#18 0x000055f00dbd2f40 in Log_event::apply_event (this=this@entry=0x55f01073d868, rgi=rgi@entry=0x44f041de1180) at /test/mtest/10.10_dbg/sql/log_event.cc:4152
|
#19 0x000055f00d83616a in online_alter_read_from_binlog (thd=thd@entry=0x55f0106f2c18, rgi=rgi@entry=0x44f041de1180, log=log@entry=0x55f010794870) at /test/mtest/10.10_dbg/sql/sql_table.cc:11440
|
#20 0x000055f00d84eeee in copy_data_between_tables (thd=thd@entry=0x55f0106f2c18, from=from@entry=0x14c7e40b7388, to=to@entry=0x55f010793268, create=@0x44f041de73e0: {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x55f0107045e8, last = 0x55f010704b08, elements = 4}, <No data fields>}, ignore=ignore@entry=false, order_num=order_num@entry=0, order=0x0, copied=0x44f041de5088, deleted=0x44f041de5090, keys_onoff=Alter_info::LEAVE_AS_IS, alter_ctx=0x44f041de6690, online=<optimized out>) at /test/mtest/10.10_dbg/sql/sql_table.cc:11868
|
#21 0x000055f00d854992 in mysql_alter_table (thd=thd@entry=0x55f0106f2c18, new_db=new_db@entry=0x55f0106f76d8, new_name=new_name@entry=0x55f0106f7ae8, create_info=create_info@entry=0x44f041de7470, table_list=<optimized out>, table_list@entry=0x55f010703b50, alter_info=alter_info@entry=0x44f041de7380, order_num=0, order=0x0, ignore=false, if_exists=false) at /test/mtest/10.10_dbg/sql/sql_table.cc:10897
|
#22 0x000055f00d8d8788 in Sql_cmd_alter_table::execute (this=<optimized out>, thd=0x55f0106f2c18) at /test/mtest/10.10_dbg/sql/structs.h:569
|
#23 0x000055f00d777049 in mysql_execute_command (thd=thd@entry=0x55f0106f2c18, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /test/mtest/10.10_dbg/sql/sql_parse.cc:5996
|
#24 0x000055f00d75f605 in mysql_parse (thd=thd@entry=0x55f0106f2c18, rawbuf=rawbuf@entry=0x55f010703a20 "ALTER TABLE `oltp3` REMOVE PARTITIONING /* QNO 45 CON_ID 47 */", length=length@entry=62, parser_state=parser_state@entry=0x44f041de8470) at /test/mtest/10.10_dbg/sql/sql_parse.cc:8036
|
#25 0x000055f00d75f00e in wsrep_mysql_parse (thd=thd@entry=0x55f0106f2c18, rawbuf=0x55f010703a20 "ALTER TABLE `oltp3` REMOVE PARTITIONING /* QNO 45 CON_ID 47 */", length=62, parser_state=parser_state@entry=0x44f041de8470) at /test/mtest/10.10_dbg/sql/sql_parse.cc:7849
|
#26 0x000055f00d76ccd8 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x55f0106f2c18, packet=packet@entry=0x55f0106fb429 "ALTER TABLE `oltp3` REMOVE PARTITIONING /* QNO 45 CON_ID 47 */ ", packet_length=packet_length@entry=63, blocking=blocking@entry=true) at /test/mtest/10.10_dbg/sql/sql_class.h:1365
|
#27 0x000055f00d76f3d1 in do_command (thd=0x55f0106f2c18, blocking=blocking@entry=true) at /test/mtest/10.10_dbg/sql/sql_parse.cc:1407
|
#28 0x000055f00d8d1433 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x55f0106d3648, put_in_cache=put_in_cache@entry=true) at /test/mtest/10.10_dbg/sql/sql_connect.cc:1418
|
#29 0x000055f00d8d193f in handle_one_connection (arg=0x55f0106d3648) at /test/mtest/10.10_dbg/sql/sql_connect.cc:1312
|
#30 0x00007a2c7c731609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#31 0x00007dd04f72a293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
Attachments
Issue Links
- is caused by
-
MDEV-16329 Engine-independent online ALTER TABLE
- Closed