Following assertion triggers with any non-zero values for innodb-thread-concurrency in current tree (10.2.5 doesn't look affected)
#6 0x00005629d95130d4 in ut_dbg_assertion_failed (expr=expr@entry=0x5629d9d45ef8 "!trx->declared_to_be_inside_innodb", file=file@entry=0x5629d9d45ea0 "/home/a/test1/mariadb-environs/_depot/m-branch/10.2/storage/innobase/srv/srv0conc.cc", line=line@entry=126) at /home/a/test1/mariadb-environs/_depot/m-branch/10.2/storage/innobase/ut/ut0dbg.cc:60
|
#7 0x00005629d99a2e21 in srv_conc_enter_innodb_with_atomics (trx=<optimized out>) at /home/a/test1/mariadb-environs/_depot/m-branch/10.2/storage/innobase/srv/srv0conc.cc:126
|
#8 0x00005629d98a4a2b in ha_innobase::general_fetch (this=0x7f8c2801a400, buf=0x7f8c28017ec0 "\375\203\006<", direction=1, match_mode=0) at /home/a/test1/mariadb-environs/_depot/m-branch/10.2/storage/innobase/handler/ha_innodb.cc:10365
|
#9 0x00005629d9734bbd in handler::ha_rnd_next (this=0x7f8c2801a400, buf=0x7f8c28017ec0 "\375\203\006<") at /home/a/test1/mariadb-environs/_depot/m-branch/10.2/sql/handler.cc:2584
|
#10 0x00005629d982b035 in rr_sequential (info=0x7f8c280133d0) at /home/a/test1/mariadb-environs/_depot/m-branch/10.2/sql/records.cc:484
|
#11 0x00005629d95e6776 in sub_select (join=0x7f8c28010048, join_tab=0x7f8c28013308, end_of_records=false) at /home/a/test1/mariadb-environs/_depot/m-branch/10.2/sql/sql_select.cc:18484
|
#12 0x00005629d9603771 in do_select (procedure=<optimized out>, join=0x7f8c28010048) at /home/a/test1/mariadb-environs/_depot/m-branch/10.2/sql/sql_select.cc:18009
|
#13 JOIN::exec_inner (this=this@entry=0x7f8c28010048) at /home/a/test1/mariadb-environs/_depot/m-branch/10.2/sql/sql_select.cc:3469
|
#14 0x00005629d9603909 in JOIN::exec (this=this@entry=0x7f8c28010048) at /home/a/test1/mariadb-environs/_depot/m-branch/10.2/sql/sql_select.cc:3271
|
#15 0x00005629d9603a5e in mysql_select (thd=thd@entry=0x7f8c280009a8, tables=0x7f8c2800f748, wild_num=<optimized out>, fields=..., conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2416184064, result=0x7f8c2800ff50, unit=0x7f8c28004348, select_lex=0x7f8c28004a80) at /home/a/test1/mariadb-environs/_depot/m-branch/10.2/sql/sql_select.cc:3664
|
#16 0x00005629d96043c4 in handle_select (thd=thd@entry=0x7f8c280009a8, lex=lex@entry=0x7f8c28004280, result=result@entry=0x7f8c2800ff50, setup_tables_done_option=setup_tables_done_option@entry=0) at /home/a/test1/mariadb-environs/_depot/m-branch/10.2/sql/sql_select.cc:361
|
#17 0x00005629d95bb370 in mysql_execute_command (thd=thd@entry=0x7f8c280009a8) at /home/a/test1/mariadb-environs/_depot/m-branch/10.2/sql/sql_parse.cc:3917
|
#18 0x00005629d95bc2ad in mysql_parse (thd=0x7f8c280009a8, rawbuf=<optimized out>, length=53, parser_state=0x7f8c7cd1f240, is_com_multi=<optimized out>, is_next_command=<optimized out>) at /home/a/test1/mariadb-environs/_depot/m-branch/10.2/sql/sql_parse.cc:7874
|
#19 0x00005629d95befb0 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x7f8c280009a8, packet=packet@entry=0x7f8c28006be9 "CREATE TABLE tmp1 ENGINE=InnoDB SELECT * FROM payment", packet_length=packet_length@entry=53, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /home/a/test1/mariadb-environs/_depot/m-branch/10.2/sql/sql_parse.cc:1812
|
#20 0x00005629d95bf829 in do_command (thd=0x7f8c280009a8) at /home/a/test1/mariadb-environs/_depot/m-branch/10.2/sql/sql_parse.cc:1361
|
#21 0x00005629d9677944 in do_handle_one_connection (connect=connect@entry=0x5629dd3650a8) at /home/a/test1/mariadb-environs/_depot/m-branch/10.2/sql/sql_connect.cc:1354
|
#22 0x00005629d9677ab4 in handle_one_connection (arg=arg@entry=0x5629dd3650a8) at /home/a/test1/mariadb-environs/_depot/m-branch/10.2/sql/sql_connect.cc:1260
|
To repeat:
1. Put attached payment.sql into favorite directory (e.g. home)
2. create following mtr test, e.g. named suite/innodb/t/innodb1.test (adjust path to payment.sql accordingly ):
--source include/have_innodb.inc
--exec $MYSQL < /home/a/payment.sql
--exec $MYSQL -Ns -e "CREATE TABLE tmp1 ENGINE=InnoDB SELECT * FROM payment" test
3. run with non-zero innodb-thread-concurrency, e.g.:
./mysql-test-run.pl innodb1 --mysqld=--innodb_thread_concurrency=8
|
{"report":{"fcp":927.5,"ttfb":223.5,"pageVisibility":"visible","entityId":61215,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"04f76fcf-87b1-4edc-afdb-fd2e3c2fd324","navigationType":0,"readyForUser":1006.4000000059605,"redirectCount":0,"resourceLoadedEnd":986.7999999821186,"resourceLoadedStart":228.69999998807907,"resourceTiming":[{"duration":176.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":228.69999998807907,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":228.69999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":405.19999998807907,"responseStart":0,"secureConnectionStart":0},{"duration":176.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":229,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":229,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":405.5,"responseStart":0,"secureConnectionStart":0},{"duration":186.90000000596046,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":229.19999998807907,"connectEnd":229.19999998807907,"connectStart":229.19999998807907,"domainLookupEnd":229.19999998807907,"domainLookupStart":229.19999998807907,"fetchStart":229.19999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":229.19999998807907,"responseEnd":416.09999999403954,"responseStart":416.09999999403954,"secureConnectionStart":229.19999998807907},{"duration":253.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/c32eb0da7ad9831253f8397e6cc26afd-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":229.40000000596046,"connectEnd":229.40000000596046,"connectStart":229.40000000596046,"domainLookupEnd":229.40000000596046,"domainLookupStart":229.40000000596046,"fetchStart":229.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":229.40000000596046,"responseEnd":482.90000000596046,"responseStart":482.7999999821186,"secureConnectionStart":229.40000000596046},{"duration":257.90000000596046,"initiatorType":"script","name":"https://jira.mariadb.org/s/bc0bcb146314416123c992714ee00ff7-CDN/lu2bv2/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":229.59999999403954,"connectEnd":229.59999999403954,"connectStart":229.59999999403954,"domainLookupEnd":229.59999999403954,"domainLookupStart":229.59999999403954,"fetchStart":229.59999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":229.59999999403954,"responseEnd":487.5,"responseStart":487.5,"secureConnectionStart":229.59999999403954},{"duration":258.10000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":229.7999999821186,"connectEnd":229.7999999821186,"connectStart":229.7999999821186,"domainLookupEnd":229.7999999821186,"domainLookupStart":229.7999999821186,"fetchStart":229.7999999821186,"redirectEnd":0,"redirectStart":0,"requestStart":229.7999999821186,"responseEnd":487.90000000596046,"responseStart":487.90000000596046,"secureConnectionStart":229.7999999821186},{"duration":258.2999999821186,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":230,"connectEnd":230,"connectStart":230,"domainLookupEnd":230,"domainLookupStart":230,"fetchStart":230,"redirectEnd":0,"redirectStart":0,"requestStart":230,"responseEnd":488.2999999821186,"responseStart":488.2999999821186,"secureConnectionStart":230},{"duration":331.69999998807907,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bv2/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":230.09999999403954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":230.09999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":561.7999999821186,"responseStart":0,"secureConnectionStart":0},{"duration":258.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":230.2999999821186,"connectEnd":230.2999999821186,"connectStart":230.2999999821186,"domainLookupEnd":230.2999999821186,"domainLookupStart":230.2999999821186,"fetchStart":230.2999999821186,"redirectEnd":0,"redirectStart":0,"requestStart":230.2999999821186,"responseEnd":488.7999999821186,"responseStart":488.7999999821186,"secureConnectionStart":230.2999999821186},{"duration":331.59999999403954,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bv2/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":230.40000000596046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":230.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":562,"responseStart":0,"secureConnectionStart":0},{"duration":258.80000001192093,"initiatorType":"script","name":"https://jira.mariadb.org/s/719848dd97ebe0663199f49a3936487a-CDN/lu2bv2/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":230.59999999403954,"connectEnd":230.59999999403954,"connectStart":230.59999999403954,"domainLookupEnd":230.59999999403954,"domainLookupStart":230.59999999403954,"fetchStart":230.59999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":230.59999999403954,"responseEnd":489.40000000596046,"responseStart":489.40000000596046,"secureConnectionStart":230.59999999403954},{"duration":405.19999998807907,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":231.40000000596046,"connectEnd":231.40000000596046,"connectStart":231.40000000596046,"domainLookupEnd":231.40000000596046,"domainLookupStart":231.40000000596046,"fetchStart":231.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":231.40000000596046,"responseEnd":636.5999999940395,"responseStart":636.5999999940395,"secureConnectionStart":231.40000000596046},{"duration":755.2999999821186,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":231.5,"connectEnd":231.5,"connectStart":231.5,"domainLookupEnd":231.5,"domainLookupStart":231.5,"fetchStart":231.5,"redirectEnd":0,"redirectStart":0,"requestStart":231.5,"responseEnd":986.7999999821186,"responseStart":986.7999999821186,"secureConnectionStart":231.5},{"duration":63.400000005960464,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":573.5999999940395,"connectEnd":573.5999999940395,"connectStart":573.5999999940395,"domainLookupEnd":573.5999999940395,"domainLookupStart":573.5999999940395,"fetchStart":573.5999999940395,"redirectEnd":0,"redirectStart":0,"requestStart":573.5999999940395,"responseEnd":637,"responseStart":637,"secureConnectionStart":573.5999999940395}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":72,"responseStart":223,"responseEnd":225,"domLoading":226,"domInteractive":1054,"domContentLoadedEventStart":1054,"domContentLoadedEventEnd":1089,"domComplete":2177,"loadEventStart":2177,"loadEventEnd":2178,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1042.699999988079},{"name":"bigPipe.sidebar-id.end","time":1043.5999999940395},{"name":"bigPipe.activity-panel-pipe-id.start","time":1043.699999988079},{"name":"bigPipe.activity-panel-pipe-id.end","time":1046.0999999940395},{"name":"activityTabFullyLoaded","time":1099.2999999821186}],"measures":[],"correlationId":"b478bed3cbc050","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":89,"dbReadsTimeInMs":11,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}