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":1419.4000000953674,"ttfb":335.90000009536743,"pageVisibility":"visible","entityId":61215,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"143c472c-8a69-4f9d-a2c0-508636a81672","navigationType":0,"readyForUser":1576.1000003814697,"redirectCount":0,"resourceLoadedEnd":1534.9000000953674,"resourceLoadedStart":349.6000003814697,"resourceTiming":[{"duration":351.19999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":349.6000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":349.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":700.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":353.40000009536743,"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":349.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":349.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":703.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":488.8999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":350.1000003814697,"connectEnd":350.1000003814697,"connectStart":350.1000003814697,"domainLookupEnd":350.1000003814697,"domainLookupStart":350.1000003814697,"fetchStart":350.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":350.1000003814697,"responseEnd":839,"responseStart":839,"secureConnectionStart":350.1000003814697},{"duration":602.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":350.40000009536743,"connectEnd":350.40000009536743,"connectStart":350.40000009536743,"domainLookupEnd":350.40000009536743,"domainLookupStart":350.40000009536743,"fetchStart":350.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":350.40000009536743,"responseEnd":953.1000003814697,"responseStart":953.1000003814697,"secureConnectionStart":350.40000009536743},{"duration":625,"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":350.6000003814697,"connectEnd":350.6000003814697,"connectStart":350.6000003814697,"domainLookupEnd":350.6000003814697,"domainLookupStart":350.6000003814697,"fetchStart":350.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":350.6000003814697,"responseEnd":975.6000003814697,"responseStart":975.6000003814697,"secureConnectionStart":350.6000003814697},{"duration":625.5999999046326,"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":350.80000019073486,"connectEnd":350.80000019073486,"connectStart":350.80000019073486,"domainLookupEnd":350.80000019073486,"domainLookupStart":350.80000019073486,"fetchStart":350.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":350.80000019073486,"responseEnd":976.4000000953674,"responseStart":976.4000000953674,"secureConnectionStart":350.80000019073486},{"duration":626.8000001907349,"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":350.90000009536743,"connectEnd":350.90000009536743,"connectStart":350.90000009536743,"domainLookupEnd":350.90000009536743,"domainLookupStart":350.90000009536743,"fetchStart":350.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":350.90000009536743,"responseEnd":977.7000002861023,"responseStart":977.7000002861023,"secureConnectionStart":350.90000009536743},{"duration":683.2999997138977,"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":351.2000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":351.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1034.5,"responseStart":0,"secureConnectionStart":0},{"duration":629.4000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":351.30000019073486,"connectEnd":351.30000019073486,"connectStart":351.30000019073486,"domainLookupEnd":351.30000019073486,"domainLookupStart":351.30000019073486,"fetchStart":351.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":351.30000019073486,"responseEnd":980.7000002861023,"responseStart":980.7000002861023,"secureConnectionStart":351.30000019073486},{"duration":683.2000002861023,"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":351.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":351.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1034.6000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":631.2999997138977,"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":351.6000003814697,"connectEnd":351.6000003814697,"connectStart":351.6000003814697,"domainLookupEnd":351.6000003814697,"domainLookupStart":351.6000003814697,"fetchStart":351.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":351.6000003814697,"responseEnd":982.9000000953674,"responseStart":982.9000000953674,"secureConnectionStart":351.6000003814697},{"duration":1181.5999999046326,"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":352.40000009536743,"connectEnd":352.40000009536743,"connectStart":352.40000009536743,"domainLookupEnd":352.40000009536743,"domainLookupStart":352.40000009536743,"fetchStart":352.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":352.40000009536743,"responseEnd":1534,"responseStart":1534,"secureConnectionStart":352.40000009536743},{"duration":1182.4000000953674,"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":352.5,"connectEnd":352.5,"connectStart":352.5,"domainLookupEnd":352.5,"domainLookupStart":352.5,"fetchStart":352.5,"redirectEnd":0,"redirectStart":0,"requestStart":352.5,"responseEnd":1534.9000000953674,"responseStart":1534.9000000953674,"secureConnectionStart":352.5},{"duration":484.2999997138977,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1050.2000002861023,"connectEnd":1050.2000002861023,"connectStart":1050.2000002861023,"domainLookupEnd":1050.2000002861023,"domainLookupStart":1050.2000002861023,"fetchStart":1050.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":1050.2000002861023,"responseEnd":1534.5,"responseStart":1534.5,"secureConnectionStart":1050.2000002861023},{"duration":264.5,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1404.8000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1404.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1669.3000001907349,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":181,"responseStart":336,"responseEnd":340,"domLoading":342,"domInteractive":1802,"domContentLoadedEventStart":1802,"domContentLoadedEventEnd":1874,"domComplete":3039,"loadEventStart":3039,"loadEventEnd":3041,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1766.9000000953674},{"name":"bigPipe.sidebar-id.end","time":1767.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.start","time":1768},{"name":"bigPipe.activity-panel-pipe-id.end","time":1771.5},{"name":"activityTabFullyLoaded","time":1889.8000001907349}],"measures":[],"correlationId":"807c2a5ce9aae7","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":95,"dbReadsTimeInMs":11,"dbConnsTimeInMs":20,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}