--source include/have_innodb.inc
|
--source include/have_log_bin.inc
|
|
CREATE TABLE t (a INT) ENGINE=InnoDB;
|
START TRANSACTION;
|
INSERT INTO t VALUES (1);
|
CREATE SEQUENCE s;
|
|
# Cleanup
|
DROP SEQUENCE s;
|
DROP TABLE t;
|
10.4 c9f87b88
|
mysqld: /data/src/10.4/sql/log_event.cc:8027: Gtid_log_event::Gtid_log_event(THD*, uint64, uint32, bool, uint16, bool, uint64): Assertion `thd_arg->lex->sql_command != SQLCOM_CREATE_SEQUENCE || (flags2 & FL_DDL)' failed.
|
231027 2:15:00 [ERROR] mysqld got signal 6 ;
|
|
#9 0x00007faf36a33e32 in __GI___assert_fail (assertion=0x556e362d9ca0 "thd_arg->lex->sql_command != SQLCOM_CREATE_SEQUENCE || (flags2 & FL_DDL)", file=0x556e362d17e0 "/data/src/10.4/sql/log_event.cc", line=8027, function=0x556e362d9d20 "Gtid_log_event::Gtid_log_event(THD*, uint64, uint32, bool, uint16, bool, uint64)") at ./assert/assert.c:101
|
#10 0x0000556e3492a36b in Gtid_log_event::Gtid_log_event (this=0x7faf21ccb4c0, thd_arg=0x62b0000af208, seq_no_arg=2, domain_id_arg=0, standalone=false, flags_arg=8, is_transactional=true, commit_id_arg=0) at /data/src/10.4/sql/log_event.cc:8027
|
#11 0x0000556e348d20d6 in MYSQL_BIN_LOG::write_gtid_event (this=0x556e377f1960 <mysql_bin_log>, thd=0x62b0000af208, standalone=false, is_transactional=true, commit_id=0) at /data/src/10.4/sql/log.cc:6100
|
#12 0x0000556e348dfe7d in MYSQL_BIN_LOG::write_transaction_or_stmt (this=0x556e377f1960 <mysql_bin_log>, entry=0x7faf21ccbb10, commit_id=0) at /data/src/10.4/sql/log.cc:8340
|
#13 0x0000556e348ddc39 in MYSQL_BIN_LOG::trx_group_commit_leader (this=0x556e377f1960 <mysql_bin_log>, leader=0x7faf21ccbb10) at /data/src/10.4/sql/log.cc:8093
|
#14 0x0000556e348dc7e9 in MYSQL_BIN_LOG::write_transaction_to_binlog_events (this=0x556e377f1960 <mysql_bin_log>, entry=0x7faf21ccbb10) at /data/src/10.4/sql/log.cc:7887
|
#15 0x0000556e348da52c in MYSQL_BIN_LOG::write_transaction_to_binlog (this=0x556e377f1960 <mysql_bin_log>, thd=0x62b0000af208, cache_mngr=0x61b00006ac88, end_ev=0x7faf21ccbda0, all=true, using_stmt_cache=true, using_trx_cache=true) at /data/src/10.4/sql/log.cc:7482
|
#16 0x0000556e348b7536 in binlog_flush_cache (thd=0x62b0000af208, cache_mngr=0x61b00006ac88, end_ev=0x7faf21ccbda0, all=true, using_stmt=true, using_trx=true) at /data/src/10.4/sql/log.cc:1762
|
#17 0x0000556e348b8195 in binlog_commit_flush_xid_caches (thd=0x62b0000af208, cache_mngr=0x61b00006ac88, all=true, xid=26) at /data/src/10.4/sql/log.cc:1870
|
#18 0x0000556e348ea116 in MYSQL_BIN_LOG::log_and_order (this=0x556e377f1960 <mysql_bin_log>, thd=0x62b0000af208, xid=26, all=true, need_prepare_ordered=false, need_commit_ordered=true) at /data/src/10.4/sql/log.cc:9854
|
#19 0x0000556e345dbe68 in ha_commit_trans (thd=0x62b0000af208, all=true) at /data/src/10.4/sql/handler.cc:1680
|
#20 0x0000556e3425cf49 in trans_commit_implicit (thd=0x62b0000af208) at /data/src/10.4/sql/transaction.cc:302
|
#21 0x0000556e33e2f753 in mysql_execute_command (thd=0x62b0000af208) at /data/src/10.4/sql/sql_parse.cc:3786
|
#22 0x0000556e33e4c783 in mysql_parse (thd=0x62b0000af208, rawbuf=0x62b0000b6228 "CREATE SEQUENCE s", length=17, parser_state=0x7faf21cce860, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:8013
|
#23 0x0000556e33e229ae in dispatch_command (command=COM_QUERY, thd=0x62b0000af208, packet=0x62900029e209 "CREATE SEQUENCE s", packet_length=17, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1857
|
#24 0x0000556e33e1f51d in do_command (thd=0x62b0000af208) at /data/src/10.4/sql/sql_parse.cc:1378
|
#25 0x0000556e34220726 in do_handle_one_connection (connect=0x608000000ba8) at /data/src/10.4/sql/sql_connect.cc:1420
|
#26 0x0000556e3422003d in handle_one_connection (arg=0x608000000ba8) at /data/src/10.4/sql/sql_connect.cc:1324
|
#27 0x0000556e34e9295e in pfs_spawn_thread (arg=0x615000006488) at /data/src/10.4/storage/perfschema/pfs.cc:1869
|
#28 0x00007faf36a88044 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
|
#29 0x00007faf36b0861c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
|
The failure started happening after this commit in 10.4:
commit 1fe4a71b67020a4fe3c1327df62668c11a0acb85
|
Author: Andrei
|
Date: Mon Oct 23 12:53:12 2023 +0300
|
|
MDEV-31792 Assertion fails in MDL_context::acquire_lock upon parallel replication of CREATE SEQUENCE
|
|
The assert's reason was in missed FL_DDL flagging of CREATE-or-REPLACE
|
Transition |
Time In Source Status |
Execution Times |
Open |
|
Closed |
|
10h 32m
|
1
|
{"report":{"fcp":1815.3999996185303,"ttfb":752.5999999046326,"pageVisibility":"visible","entityId":126004,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"3f3d2ead-1dff-4a6b-ad7a-49da1faf7a95","navigationType":0,"readyForUser":1927.6999998092651,"redirectCount":0,"resourceLoadedEnd":2434.2999997138977,"resourceLoadedStart":764.6999998092651,"resourceTiming":[{"duration":543.1999998092651,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":764.6999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":764.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1307.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":543.4000000953674,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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","startTime":764.8999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":764.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1308.2999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":552.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":765.0999999046326,"connectEnd":765.0999999046326,"connectStart":765.0999999046326,"domainLookupEnd":765.0999999046326,"domainLookupStart":765.0999999046326,"fetchStart":765.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":765.0999999046326,"responseEnd":1317.5999999046326,"responseStart":1317.5999999046326,"secureConnectionStart":765.0999999046326},{"duration":591.7000002861023,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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","startTime":765.2999997138977,"connectEnd":765.2999997138977,"connectStart":765.2999997138977,"domainLookupEnd":765.2999997138977,"domainLookupStart":765.2999997138977,"fetchStart":765.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":765.2999997138977,"responseEnd":1357,"responseStart":1357,"secureConnectionStart":765.2999997138977},{"duration":596.0999999046326,"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":765.5,"connectEnd":765.5,"connectStart":765.5,"domainLookupEnd":765.5,"domainLookupStart":765.5,"fetchStart":765.5,"redirectEnd":0,"redirectStart":0,"requestStart":765.5,"responseEnd":1361.5999999046326,"responseStart":1361.5999999046326,"secureConnectionStart":765.5},{"duration":596.2000002861023,"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":765.7999997138977,"connectEnd":765.7999997138977,"connectStart":765.7999997138977,"domainLookupEnd":765.7999997138977,"domainLookupStart":765.7999997138977,"fetchStart":765.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":765.7999997138977,"responseEnd":1362,"responseStart":1362,"secureConnectionStart":765.7999997138977},{"duration":596.6000003814697,"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":765.8999996185303,"connectEnd":765.8999996185303,"connectStart":765.8999996185303,"domainLookupEnd":765.8999996185303,"domainLookupStart":765.8999996185303,"fetchStart":765.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":765.8999996185303,"responseEnd":1362.5,"responseStart":1362.3999996185303,"secureConnectionStart":765.8999996185303},{"duration":707.6999998092651,"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":766.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":766.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1473.7999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":597.4000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":766.2999997138977,"connectEnd":766.2999997138977,"connectStart":766.2999997138977,"domainLookupEnd":766.2999997138977,"domainLookupStart":766.2999997138977,"fetchStart":766.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":766.2999997138977,"responseEnd":1363.6999998092651,"responseStart":1363.6999998092651,"secureConnectionStart":766.2999997138977},{"duration":707.3999996185303,"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":766.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":766.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1473.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":598,"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":766.5,"connectEnd":766.5,"connectStart":766.5,"domainLookupEnd":766.5,"domainLookupStart":766.5,"fetchStart":766.5,"redirectEnd":0,"redirectStart":0,"requestStart":766.5,"responseEnd":1364.5,"responseStart":1364.5,"secureConnectionStart":766.5},{"duration":963.5,"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":772.8999996185303,"connectEnd":772.8999996185303,"connectStart":772.8999996185303,"domainLookupEnd":772.8999996185303,"domainLookupStart":772.8999996185303,"fetchStart":772.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":772.8999996185303,"responseEnd":1736.3999996185303,"responseStart":1736.3999996185303,"secureConnectionStart":772.8999996185303},{"duration":1654.5999999046326,"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":773,"connectEnd":773,"connectStart":773,"domainLookupEnd":773,"domainLookupStart":773,"fetchStart":773,"redirectEnd":0,"redirectStart":0,"requestStart":773,"responseEnd":2427.5999999046326,"responseStart":2427.5,"secureConnectionStart":773},{"duration":250.90000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1490.7999997138977,"connectEnd":1490.7999997138977,"connectStart":1490.7999997138977,"domainLookupEnd":1490.7999997138977,"domainLookupStart":1490.7999997138977,"fetchStart":1490.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":1490.7999997138977,"responseEnd":1741.6999998092651,"responseStart":1741.6999998092651,"secureConnectionStart":1490.7999997138977},{"duration":664.2999997138977,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":1764.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1764.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2428.3999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":663.4000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":1765.0999999046326,"connectEnd":1765.0999999046326,"connectStart":1765.0999999046326,"domainLookupEnd":1765.0999999046326,"domainLookupStart":1765.0999999046326,"fetchStart":1765.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":1765.0999999046326,"responseEnd":2428.5,"responseStart":2428.5,"secureConnectionStart":1765.0999999046326},{"duration":668.7999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":1765.5,"connectEnd":1765.5,"connectStart":1765.5,"domainLookupEnd":1765.5,"domainLookupStart":1765.5,"fetchStart":1765.5,"redirectEnd":0,"redirectStart":0,"requestStart":1765.5,"responseEnd":2434.2999997138977,"responseStart":2434.2999997138977,"secureConnectionStart":1765.5},{"duration":641.5,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1806.1999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1806.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2447.699999809265,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":184,"responseStart":753,"responseEnd":773,"domLoading":763,"domInteractive":2453,"domContentLoadedEventStart":2453,"domContentLoadedEventEnd":2506,"domComplete":3055,"loadEventStart":3055,"loadEventEnd":3055,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2434.5},{"name":"bigPipe.sidebar-id.end","time":2435.3999996185303},{"name":"bigPipe.activity-panel-pipe-id.start","time":2435.5999999046326},{"name":"bigPipe.activity-panel-pipe-id.end","time":2436.3999996185303},{"name":"activityTabFullyLoaded","time":2519.7999997138977}],"measures":[],"correlationId":"701f124532e132","effectiveType":"4g","downlink":9.4,"rtt":0,"serverDuration":96,"dbReadsTimeInMs":12,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}