Did Rolling Upgrade with 5 nodes upgraded 10.3 -> 104.
Then run following SQLs to get crash:
CREATE SEQUENCE Seq1_1 START WITH 1 INCREMENT BY 1;
|
select NEXT VALUE FOR Seq1_1;
|
alter table Seq1_1 engine=myisam;
|
select NEXT VALUE FOR Seq1_1;
|
alter table Seq1_1 engine=innodb;
|
select NEXT VALUE FOR Seq1_1;
|
ERROR 2013 (HY000): Lost connection to MySQL server during query
|
Failed with:
mysqld: /home/shako/Galera_Tests/MariaDB/sql/service_wsrep.cc:249: int wsrep_thd_append_key(THD*, const wsrep_key*, int, Wsrep_service_key_type): Assertion `client_state.transaction().
|
active()' failed.
|
sql/service_wsrep.cc:250(wsrep_thd_append_key)[0x562720e54d0e]
|
handler/ha_innodb.cc:10456(wsrep_append_key(THD*, trx_t*, TABLE_SHARE*, char const*, unsigned short, Wsrep_service_key_type))[0x562721161a28]
|
handler/ha_innodb.cc:10659(ha_innobase::wsrep_append_keys(THD*, Wsrep_service_key_type, unsigned char const*, unsigned char const*))[0x5627211625f7]
|
handler/ha_innodb.cc:8975(ha_innobase::update_row(unsigned char const*, unsigned char const*))[0x56272115e213]
|
sql/handler.cc:6782(handler::update_first_row(unsigned char*))[0x562720f3e312]
|
sql/ha_sequence.cc:258(ha_sequence::write_row(unsigned char*))[0x5627216c4cef]
|
sql/handler.cc:6702(handler::ha_write_row(unsigned char*))[0x562720f3dc78]
|
sql/sql_sequence.cc:641(sequence_definition::write(TABLE*, bool))[0x562720e17c21]
|
sql/sql_sequence.cc:748(SEQUENCE::next_value(TABLE*, bool, int*))[0x562720e17f8e]
|
sql/item_func.cc:6676(Item_func_nextval::val_int())[0x562720fc5394]
|
sql/sql_type.cc:6684(Type_handler::Item_send_longlong(Item*, Protocol*, st_value*) const)[0x562720df6dcb]
|
sql/sql_type.h:4839(Type_handler_longlong::Item_send(Item*, Protocol*, st_value*) const)[0x562720e02592]
|
/home/shako/Galera_Tests/dbs/maria_10.4/bin/mysqld(+0x66abb4)[0x562720acfbb4]
|
/home/shako/Galera_Tests/dbs/maria_10.4/bin/mysqld(_ZN8Protocol19send_result_set_rowEP4ListI4ItemE+0xcb)[0x562720aca1e9]
|
/home/shako/Galera_Tests/dbs/maria_10.4/bin/mysqld(_ZN11select_send9send_dataER4ListI4ItemE+0xe2)[0x562720b78c04]
|
sql/item.h:1034(Item::send(Protocol*, st_value*))[0x562720c3897e]
|
sql/protocol.cc:1021(Protocol::send_result_set_row(List<Item>*))[0x562720c38296]
|
sql/sql_class.cc:2999(select_send::send_data(List<Item>&))[0x562720c3993d]
|
sql/sql_select.cc:4231(JOIN::exec_inner())[0x562720c29f67]
|
sql/sql_select.cc:4147(JOIN::exec())[0x562720bf3347]
|
sql/sql_select.cc:4580(mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_se:
|
sql/sql_select.cc:412(handle_select(THD*, LEX*, select_result*, unsigned long))[0x562720bf726a]
|
sql/sql_parse.cc:6646(execute_sqlcom_select(THD*, TABLE_LIST*))[0x562720bf68e0]
|
sql/sql_parse.cc:3883(mysql_execute_command(THD*))[0x562720be2414]
|
sql/sql_parse.cc:8199(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x562720be0d2d]
|
sql/sql_parse.cc:8022(wsrep_mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x562720d596b1]
|
sql/sql_parse.cc:1813(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x562720d59415]
|
nptl/pthread_create.c:463(start_thread)[0x7f558b93e6db]
|
x86_64/clone.S:97(clone)[0x7f558ab2488f]
|
|
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0x7f54c001c748): select NEXT VALUE FOR Seq1_1
|
{"report":{"fcp":1151.2999999523163,"ttfb":437,"pageVisibility":"visible","entityId":73019,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"96fe2a5d-4a08-4104-9edc-b7d34c15905d","navigationType":0,"readyForUser":1246.7000000476837,"redirectCount":0,"resourceLoadedEnd":925.7000000476837,"resourceLoadedStart":442.2999999523163,"resourceTiming":[{"duration":151.30000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":442.2999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":442.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":593.6000001430511,"responseStart":0,"secureConnectionStart":0},{"duration":151.70000004768372,"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":442.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":442.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":594.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":208.20000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":442.7000000476837,"connectEnd":442.7000000476837,"connectStart":442.7000000476837,"domainLookupEnd":442.7000000476837,"domainLookupStart":442.7000000476837,"fetchStart":442.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":442.7000000476837,"responseEnd":650.9000000953674,"responseStart":650.9000000953674,"secureConnectionStart":442.7000000476837},{"duration":289.7000000476837,"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":442.90000009536743,"connectEnd":442.90000009536743,"connectStart":442.90000009536743,"domainLookupEnd":442.90000009536743,"domainLookupStart":442.90000009536743,"fetchStart":442.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":442.90000009536743,"responseEnd":732.6000001430511,"responseStart":732.6000001430511,"secureConnectionStart":442.90000009536743},{"duration":294,"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":443.10000014305115,"connectEnd":443.10000014305115,"connectStart":443.10000014305115,"domainLookupEnd":443.10000014305115,"domainLookupStart":443.10000014305115,"fetchStart":443.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":443.10000014305115,"responseEnd":737.1000001430511,"responseStart":737.1000001430511,"secureConnectionStart":443.10000014305115},{"duration":294.40000009536743,"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":443.2000000476837,"connectEnd":443.2000000476837,"connectStart":443.2000000476837,"domainLookupEnd":443.2000000476837,"domainLookupStart":443.2000000476837,"fetchStart":443.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":443.2000000476837,"responseEnd":737.6000001430511,"responseStart":737.6000001430511,"secureConnectionStart":443.2000000476837},{"duration":294.40000009536743,"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":443.5,"connectEnd":443.5,"connectStart":443.5,"domainLookupEnd":443.5,"domainLookupStart":443.5,"fetchStart":443.5,"redirectEnd":0,"redirectStart":0,"requestStart":443.5,"responseEnd":737.9000000953674,"responseStart":737.9000000953674,"secureConnectionStart":443.5},{"duration":352.2999999523163,"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":443.60000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":443.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":795.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":294.7000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":443.7999999523163,"connectEnd":443.7999999523163,"connectStart":443.7999999523163,"domainLookupEnd":443.7999999523163,"domainLookupStart":443.7999999523163,"fetchStart":443.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":443.7999999523163,"responseEnd":738.5,"responseStart":738.5,"secureConnectionStart":443.7999999523163},{"duration":352,"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":444,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":444,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":796,"responseStart":0,"secureConnectionStart":0},{"duration":295,"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":444.10000014305115,"connectEnd":444.10000014305115,"connectStart":444.10000014305115,"domainLookupEnd":444.10000014305115,"domainLookupStart":444.10000014305115,"fetchStart":444.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":444.10000014305115,"responseEnd":739.1000001430511,"responseStart":739.1000001430511,"secureConnectionStart":444.10000014305115},{"duration":395.40000009536743,"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":449.7999999523163,"connectEnd":449.7999999523163,"connectStart":449.7999999523163,"domainLookupEnd":449.7999999523163,"domainLookupStart":449.7999999523163,"fetchStart":449.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":449.7999999523163,"responseEnd":845.2000000476837,"responseStart":845.2000000476837,"secureConnectionStart":449.7999999523163},{"duration":472.2000000476837,"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":453.5,"connectEnd":453.5,"connectStart":453.5,"domainLookupEnd":453.5,"domainLookupStart":453.5,"fetchStart":453.5,"redirectEnd":0,"redirectStart":0,"requestStart":453.5,"responseEnd":925.7000000476837,"responseStart":925.7000000476837,"secureConnectionStart":453.5},{"duration":76.89999985694885,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":808.1000001430511,"connectEnd":808.1000001430511,"connectStart":808.1000001430511,"domainLookupEnd":808.1000001430511,"domainLookupStart":808.1000001430511,"fetchStart":808.1000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":808.1000001430511,"responseEnd":885,"responseStart":885,"secureConnectionStart":808.1000001430511}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":259,"responseStart":437,"responseEnd":453,"domLoading":440,"domInteractive":1333,"domContentLoadedEventStart":1333,"domContentLoadedEventEnd":1399,"domComplete":1701,"loadEventStart":1701,"loadEventEnd":1702,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1290.9000000953674},{"name":"bigPipe.sidebar-id.end","time":1291.7000000476837},{"name":"bigPipe.activity-panel-pipe-id.start","time":1291.7999999523163},{"name":"bigPipe.activity-panel-pipe-id.end","time":1296.9000000953674},{"name":"activityTabFullyLoaded","time":1415.7000000476837}],"measures":[],"correlationId":"2bd23d79017503","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":112,"dbReadsTimeInMs":10,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Added sample MTR tests as well.