Type:
Bug
Priority:
Critical
Resolution:
Fixed
Affects Version/s:
10.5
perl gendata.pl --dsn=dbi:mysql:host=127.0.0.1:port=10455:user=root:database=test --spec=conf/runtime/alter_online.zz
perl gentest.pl --dsn=dbi:mysql:host=127.0.0.1:port=10455:user=root:database=test --grammar=conf/runtime/alter_online.yy --threads=32 --duration=30000 --queries=1000000000 &
perl gentest.pl --dsn=dbi:mysql:host=127.0.0.1:port=10153:user=root:database=test --grammar=conf/runtime/alter_online.yy --threads=32 --duration=30000 --queries=1000000000 &
perl gentest.pl --dsn=dbi:mysql:host=127.0.0.1:port=10547:user=root:database=test --grammar=conf/runtime/alter_online.yy --threads=32 --duration=30000 --queries=1000000000 &
Leads to
11.3.0 22ffe4dd227451ebd0ef842850ef57b81aa8f930 (Debug)
mysqld: /test/mtest/11.3_dbg/sql/wsrep_mysqld.cc:3894: void wsrep_commit_empty(THD*, bool): Assertion `!wsrep_has_changes(thd) || (thd->lex->sql_command == SQLCOM_CREATE_TABLE && !thd->is_current_stmt_binlog_format_row()) || thd->wsrep_cs().transaction().state() == wsrep::transaction::s_aborted' failed.
11.3.0 22ffe4dd227451ebd0ef842850ef57b81aa8f930 (Debug)
#0 __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
56 ../sysdeps/unix/sysv/linux/pthread_kill.c: No such file or directory.
[Current thread is 1 (Thread 0x14849e0ca700 (LWP 1022450))]
(gdb) bt
#0 __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
#1 0x0000557741158e0c in my_write_core (sig=sig@entry=6) at /test/mtest/11.3_dbg/mysys/stacktrace.c:424
#2 0x0000557740a4454a in handle_fatal_signal (sig=6) at /test/mtest/11.3_dbg/sql/signal_handler.cc:360
#3 <signal handler called>
#4 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#5 0x00001485065f6859 in __GI_abort () at abort.c:79
#6 0x00001485065f6729 in __assert_fail_base (fmt=0x14850678c588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=0x55774152c4d8 "!wsrep_has_changes(thd) || (thd->lex->sql_command == SQLCOM_CREATE_TABLE && !thd->is_current_stmt_binlog_format_row()) || thd->wsrep_cs().transaction().state() == wsrep::transaction::s_aborted", file=0x55774152b568 "/test/mtest/11.3_dbg/sql/wsrep_mysqld.cc", line=3894, function=<optimized out>) at assert.c:92
#7 0x0000148506607fd6 in __GI___assert_fail (
assertion=assertion@entry=0x55774152c4d8 "!wsrep_has_changes(thd) || (thd->lex->sql_command == SQLCOM_CREATE_TABLE && !thd->is_current_stmt_binlog_format_row()) || thd->wsrep_cs().transaction().state() == wsrep::transaction::s_aborted", file=file@entry=0x55774152b568 "/test/mtest/11.3_dbg/sql/wsrep_mysqld.cc", line=line@entry=3894, function=function@entry=0x55774152c5a0 "void wsrep_commit_empty(THD*, bool)")
at assert.c:101
#8 0x0000557740d074a9 in wsrep_commit_empty (thd=thd@entry=0x1484a8000d48, all=all@entry=true) at /test/mtest/11.3_dbg/wsrep-lib/include/wsrep/transaction.hpp:64
#9 0x0000557740a4a7d8 in ha_commit_trans (thd=thd@entry=0x1484a8000d48, all=all@entry=true) at /test/mtest/11.3_dbg/sql/handler.cc:1753
#10 0x00005577408bd8a9 in trans_commit_implicit (thd=thd@entry=0x1484a8000d48) at /test/mtest/11.3_dbg/sql/transaction.cc:329
#11 0x0000557740740e33 in mysql_execute_command (thd=thd@entry=0x1484a8000d48, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /test/mtest/11.3_dbg/sql/sql_parse.cc:5863
#12 0x0000557740728c1c in mysql_parse (thd=thd@entry=0x1484a8000d48, rawbuf=rawbuf@entry=0x1484a8013350 "ALTER TABLE t1 ADD KEY idx ( col4(10) ) /* QNO 7 CON_ID 32 */", length=length@entry=61,
parser_state=parser_state@entry=0x14849e0c92c0) at /test/mtest/11.3_dbg/sql/sql_parse.cc:7748
#13 0x000055774072852d in wsrep_mysql_parse (thd=thd@entry=0x1484a8000d48, rawbuf=0x1484a8013350 "ALTER TABLE t1 ADD KEY idx ( col4(10) ) /* QNO 7 CON_ID 32 */", length=61,
parser_state=parser_state@entry=0x14849e0c92c0) at /test/mtest/11.3_dbg/sql/sql_parse.cc:7559
#14 0x00005577407364ef in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x1484a8000d48, packet=packet@entry=0x1484a800afb9 "ALTER TABLE t1 ADD KEY idx ( col4(10) ) /* QNO 7 CON_ID 32 */ ",
packet_length=packet_length@entry=62, blocking=blocking@entry=true) at /test/mtest/11.3_dbg/sql/sql_class.h:1549
#15 0x00005577407389a2 in do_command (thd=0x1484a8000d48, blocking=blocking@entry=true) at /test/mtest/11.3_dbg/sql/sql_parse.cc:1406
#16 0x00005577408a8940 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x557742bba8b8, put_in_cache=put_in_cache@entry=true) at /test/mtest/11.3_dbg/sql/sql_connect.cc:1418
#17 0x00005577408a8e12 in handle_one_connection (arg=0x557742bba8b8) at /test/mtest/11.3_dbg/sql/sql_connect.cc:1320
#18 0x0000148506b07609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#19 0x00001485066f3133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
{"report":{"fcp":1174.5999999046326,"ttfb":271.80000019073486,"pageVisibility":"visible","entityId":126366,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"3e0379fb-2cf1-40db-9171-87f9232fdb65","navigationType":0,"readyForUser":1271.8000001907349,"redirectCount":0,"resourceLoadedEnd":904.5999999046326,"resourceLoadedStart":299.90000009536743,"resourceTiming":[{"duration":42.59999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":299.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":299.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":342.5,"responseStart":0,"secureConnectionStart":0},{"duration":328.7999997138977,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":300.2000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":300.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":629,"responseStart":0,"secureConnectionStart":0},{"duration":338.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":300.40000009536743,"connectEnd":300.40000009536743,"connectStart":300.40000009536743,"domainLookupEnd":300.40000009536743,"domainLookupStart":300.40000009536743,"fetchStart":300.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":300.40000009536743,"responseEnd":638.7000002861023,"responseStart":638.7000002861023,"secureConnectionStart":300.40000009536743},{"duration":394.7000002861023,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":300.59999990463257,"connectEnd":300.59999990463257,"connectStart":300.59999990463257,"domainLookupEnd":300.59999990463257,"domainLookupStart":300.59999990463257,"fetchStart":300.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":300.59999990463257,"responseEnd":695.3000001907349,"responseStart":695.3000001907349,"secureConnectionStart":300.59999990463257},{"duration":398.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":300.80000019073486,"connectEnd":300.80000019073486,"connectStart":300.80000019073486,"domainLookupEnd":300.80000019073486,"domainLookupStart":300.80000019073486,"fetchStart":300.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":300.80000019073486,"responseEnd":699.2000002861023,"responseStart":699.2000002861023,"secureConnectionStart":300.80000019073486},{"duration":398.7000002861023,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":301,"connectEnd":301,"connectStart":301,"domainLookupEnd":301,"domainLookupStart":301,"fetchStart":301,"redirectEnd":0,"redirectStart":0,"requestStart":301,"responseEnd":699.7000002861023,"responseStart":699.7000002861023,"secureConnectionStart":301},{"duration":398.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":301.30000019073486,"connectEnd":301.30000019073486,"connectStart":301.30000019073486,"domainLookupEnd":301.30000019073486,"domainLookupStart":301.30000019073486,"fetchStart":301.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":301.30000019073486,"responseEnd":700.2000002861023,"responseStart":700.2000002861023,"secureConnectionStart":301.30000019073486},{"duration":505.59999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":301.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":301.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":807,"responseStart":0,"secureConnectionStart":0},{"duration":399.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":301.7000002861023,"connectEnd":301.7000002861023,"connectStart":301.7000002861023,"domainLookupEnd":301.7000002861023,"domainLookupStart":301.7000002861023,"fetchStart":301.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":301.7000002861023,"responseEnd":700.8000001907349,"responseStart":700.8000001907349,"secureConnectionStart":301.7000002861023},{"duration":505.30000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":301.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":301.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":807.2000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":399.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":302.09999990463257,"connectEnd":302.09999990463257,"connectStart":302.09999990463257,"domainLookupEnd":302.09999990463257,"domainLookupStart":302.09999990463257,"fetchStart":302.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":302.09999990463257,"responseEnd":701.5999999046326,"responseStart":701.5999999046326,"secureConnectionStart":302.09999990463257},{"duration":516,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":303,"connectEnd":303,"connectStart":303,"domainLookupEnd":303,"domainLookupStart":303,"fetchStart":303,"redirectEnd":0,"redirectStart":0,"requestStart":303,"responseEnd":819,"responseStart":819,"secureConnectionStart":303},{"duration":601.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":303.09999990463257,"connectEnd":303.09999990463257,"connectStart":303.09999990463257,"domainLookupEnd":303.09999990463257,"domainLookupStart":303.09999990463257,"fetchStart":303.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":303.09999990463257,"responseEnd":904.5999999046326,"responseStart":904.5999999046326,"secureConnectionStart":303.09999990463257},{"duration":60,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":867,"connectEnd":867,"connectStart":867,"domainLookupEnd":867,"domainLookupStart":867,"fetchStart":867,"redirectEnd":0,"redirectStart":0,"requestStart":867,"responseEnd":927,"responseStart":927,"secureConnectionStart":867}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":125,"responseStart":272,"responseEnd":292,"domLoading":297,"domInteractive":1336,"domContentLoadedEventStart":1336,"domContentLoadedEventEnd":1395,"domComplete":2099,"loadEventStart":2099,"loadEventEnd":2101,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1315.0999999046326},{"name":"bigPipe.sidebar-id.end","time":1315.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.start","time":1316},{"name":"bigPipe.activity-panel-pipe-id.end","time":1318.9000000953674},{"name":"activityTabFullyLoaded","time":1412.3000001907349}],"measures":[],"correlationId":"10ca1cd3307de4","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":85,"dbReadsTimeInMs":9,"dbConnsTimeInMs":17,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}