This issue actually could be the same problem as the assertion failure in MDEV-34588. The following is based on 10.6 216fdb155683e960297b089e024c439593bbe6a8.
If we remove the implementation of ha_spider::extra() with the MERGE SE specific flags (see the diff block below), we get an assertion failure in spider/bugfix.mdev_29963 and it is the same assertion failure as reported in MDEV-34588. Upon inspection, it happens at the data node when running LOCK TABLES t2 WRITE;, and the data node query is "lock tables `test`.`t` write".
The thd at ha_spider::store_lock is different from that retrieved from spider->wide_handler->trx->thd. Below is the stack trace at the assertion failure:
If we place a breakpoint at ha_spider::extra() and do rc in rr, it is hit in the same query at the data node with a MERGE specific flag. The stack looks like spider was relying on ha_spider::extra() to reset the trx, since ha_spider::open() is not always called from open_table() (called from open_and_process_table()):
However ha_spider::extra() was not called because the MDEV-33502 change mentioned below decided not to call ha_spider::extra() from ha_partition::extra() with the MERGE-specific flag.
Yuchen Pei
added a comment - This issue actually could be the same problem as the assertion failure in MDEV-34588 . The following is based on 10.6 216fdb155683e960297b089e024c439593bbe6a8.
If we remove the implementation of ha_spider::extra() with the MERGE SE specific flags (see the diff block below), we get an assertion failure in spider/bugfix.mdev_29963 and it is the same assertion failure as reported in MDEV-34588 . Upon inspection, it happens at the data node when running LOCK TABLES t2 WRITE; , and the data node query is "lock tables `test`.`t` write" .
modified storage/spider/ha_spider.cc
@@ -1376,7 +1376,6 @@ int ha_spider::reset()
int ha_spider::extra(
enum ha_extra_function operation
) {
- int error_num;
DBUG_ENTER("ha_spider::extra");
DBUG_PRINT("info",("spider this=%p", this));
DBUG_PRINT("info",("spider operation=%d", (int) operation));
@@ -1428,16 +1427,6 @@ int ha_spider::extra(
wide_handler->insert_with_update = TRUE;
break;
#endif
- case HA_EXTRA_ATTACH_CHILDREN:
- DBUG_PRINT("info",("spider HA_EXTRA_ATTACH_CHILDREN"));
- if (!(wide_handler->trx = spider_get_trx(ha_thd(), TRUE, &error_num)))
- DBUG_RETURN(error_num);
- break;
- case HA_EXTRA_ADD_CHILDREN_LIST:
- DBUG_PRINT("info",("spider HA_EXTRA_ADD_CHILDREN_LIST"));
- if (!(wide_handler->trx = spider_get_trx(ha_thd(), TRUE, &error_num)))
- DBUG_RETURN(error_num);
- break;
#if defined(HA_EXTRA_HAS_STARTING_ORDERED_INDEX_SCAN) || defined(HA_EXTRA_HAS_HA_EXTRA_USE_CMP_REF)
#ifdef HA_EXTRA_HAS_STARTING_ORDERED_INDEX_SCAN
case HA_EXTRA_STARTING_ORDERED_INDEX_SCAN:
The thd at ha_spider::store_lock is different from that retrieved from spider->wide_handler->trx->thd . Below is the stack trace at the assertion failure:
__GI___assert_fail > thd_get_ha_data > spider_get_trx > spider_check_trx_and_get_conn > ha_spider::append_lock_tables_list > ha_spider::store_lock > get_lock_data > mysql_lock_tables > lock_tables > lock_tables_open_and_lock_tables > mysql_execute_command > ...
If we place a breakpoint at ha_spider::extra() and do rc in rr, it is hit in the same query at the data node with a MERGE specific flag. The stack looks like spider was relying on ha_spider::extra() to reset the trx, since ha_spider::open() is not always called from open_table() (called from open_and_process_table()):
ha_spider::extra > open_and_process_table > open_tables > open_tables > lock_tables_open_and_lock_tables > mysql_execute_command > ...
The same happens in the MDEV-34588 case. There, the assertion failure happens at the statement LOCK TABLES t2 READ,t1 WRITE .
__GI___assert_fail > thd_get_ha_data > spider_get_trx > spider_check_trx_and_get_conn > ha_spider::append_lock_tables_list > ha_spider::store_lock > ha_partition::store_lock > get_lock_data > mysql_lock_tables > lock_tables > lock_tables_open_and_lock_tables > mysql_execute_command > ...
However ha_spider::extra() was not called because the MDEV-33502 change mentioned below decided not to call ha_spider::extra() from ha_partition::extra() with the MERGE-specific flag.
ha_partition::extra > open_and_process_table > open_tables > open_tables > lock_tables_open_and_lock_tables > mysql_execute_command > ...
Note the similarities in the stacks too.
ERROR 1486 (HY000): Constant, random or timezone-dependent expressions in (sub)partitioning function are not allowed
Roel Van de Paar
added a comment - Also documenting 10.5 CLI output:
10.5.26 b8f92ade57691a78cc97c5d79eae0a27a10cb8f2 (Debug)
...
10.5.26-dbg>INSERT INTO t2 SELECT * FROM t3;
ERROR 1136 (21S01): Column count doesn't match value count at row 1
10.5.26-dbg>SELECT * FROM t3;
ERROR 1429 (HY000): Unable to connect to foreign data source: localhost
10.5.26-dbg>ALTER TABLE t1 CHANGE COLUMN c1 d1 INT;
ERROR 1486 (HY000): Constant, random or timezone-dependent expressions in (sub)partitioning function are not allowed
eaf360a48b0 upstream/bb-10.5-mdev-34636 MDEV-34636 Spider: reset wide_handler->trx in two occasions
a28f4001065 MDEV-34636 Remove implementation of ha-spider::extra() with MERGE flags
Yuchen Pei
added a comment - Hi holyfoot , ptal thanks
eaf360a48b0 upstream/bb-10.5-mdev-34636 MDEV-34636 Spider: reset wide_handler->trx in two occasions
a28f4001065 MDEV-34636 Remove implementation of ha-spider::extra() with MERGE flags
thanks for the review - pushed the following to 10.5:
42735c557e7 upstream/bb-10.5-mdev-34636 upstream/10.5 MDEV-34636 Spider: reset wide_handler->trx in two occasions
f43ea935a12 MDEV-34636 Remove implementation of ha-spider::extra() with MERGE flags
Yuchen Pei
added a comment - thanks for the review - pushed the following to 10.5:
42735c557e7 upstream/bb-10.5-mdev-34636 upstream/10.5 MDEV-34636 Spider: reset wide_handler->trx in two occasions
f43ea935a12 MDEV-34636 Remove implementation of ha-spider::extra() with MERGE flags
People
Yuchen Pei
Roel Van de Paar
Votes:
0Vote for this issue
Watchers:
3Start watching this issue
Dates
Created:
Updated:
Resolved:
Git Integration
Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.
{"report":{"fcp":1470.0999994277954,"ttfb":619,"pageVisibility":"visible","entityId":130137,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"630352a2-330d-4908-aea5-bcd03b8667fa","navigationType":0,"readyForUser":1564.3999996185303,"redirectCount":0,"resourceLoadedEnd":1866,"resourceLoadedStart":624.2999992370605,"resourceTiming":[{"duration":325.30000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":624.2999992370605,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":624.2999992370605,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":949.5999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":325.30000019073486,"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":624.6999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":624.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":950,"responseStart":0,"secureConnectionStart":0},{"duration":381.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":624.8999996185303,"connectEnd":624.8999996185303,"connectStart":624.8999996185303,"domainLookupEnd":624.8999996185303,"domainLookupStart":624.8999996185303,"fetchStart":624.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":624.8999996185303,"responseEnd":1006.3999996185303,"responseStart":1006.3999996185303,"secureConnectionStart":624.8999996185303},{"duration":445.79999923706055,"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":625,"connectEnd":625,"connectStart":625,"domainLookupEnd":625,"domainLookupStart":625,"fetchStart":625,"redirectEnd":0,"redirectStart":0,"requestStart":625,"responseEnd":1070.7999992370605,"responseStart":1070.7999992370605,"secureConnectionStart":625},{"duration":449.80000019073486,"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":625.1999998092651,"connectEnd":625.1999998092651,"connectStart":625.1999998092651,"domainLookupEnd":625.1999998092651,"domainLookupStart":625.1999998092651,"fetchStart":625.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":625.1999998092651,"responseEnd":1075,"responseStart":1075,"secureConnectionStart":625.1999998092651},{"duration":450.0999994277954,"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":625.5,"connectEnd":625.5,"connectStart":625.5,"domainLookupEnd":625.5,"domainLookupStart":625.5,"fetchStart":625.5,"redirectEnd":0,"redirectStart":0,"requestStart":625.5,"responseEnd":1075.5999994277954,"responseStart":1075.5999994277954,"secureConnectionStart":625.5},{"duration":450.30000019073486,"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":625.6999998092651,"connectEnd":625.6999998092651,"connectStart":625.6999998092651,"domainLookupEnd":625.6999998092651,"domainLookupStart":625.6999998092651,"fetchStart":625.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":625.6999998092651,"responseEnd":1076,"responseStart":1076,"secureConnectionStart":625.6999998092651},{"duration":525.6000003814697,"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":625.7999992370605,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":625.7999992370605,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1151.3999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":450.5999994277954,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":626,"connectEnd":626,"connectStart":626,"domainLookupEnd":626,"domainLookupStart":626,"fetchStart":626,"redirectEnd":0,"redirectStart":0,"requestStart":626,"responseEnd":1076.5999994277954,"responseStart":1076.5999994277954,"secureConnectionStart":626},{"duration":525.4000005722046,"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":626.0999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":626.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1151.5,"responseStart":0,"secureConnectionStart":0},{"duration":450.9000005722046,"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":626.2999992370605,"connectEnd":626.2999992370605,"connectStart":626.2999992370605,"domainLookupEnd":626.2999992370605,"domainLookupStart":626.2999992370605,"fetchStart":626.2999992370605,"redirectEnd":0,"redirectStart":0,"requestStart":626.2999992370605,"responseEnd":1077.1999998092651,"responseStart":1077.1999998092651,"secureConnectionStart":626.2999992370605},{"duration":801.2000007629395,"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":632.2999992370605,"connectEnd":632.2999992370605,"connectStart":632.2999992370605,"domainLookupEnd":632.2999992370605,"domainLookupStart":632.2999992370605,"fetchStart":632.2999992370605,"redirectEnd":0,"redirectStart":0,"requestStart":632.2999992370605,"responseEnd":1433.5,"responseStart":1433.5,"secureConnectionStart":632.2999992370605},{"duration":1208.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":632.2999992370605,"connectEnd":632.2999992370605,"connectStart":632.2999992370605,"domainLookupEnd":632.2999992370605,"domainLookupStart":632.2999992370605,"fetchStart":632.2999992370605,"redirectEnd":0,"redirectStart":0,"requestStart":632.2999992370605,"responseEnd":1840.7999992370605,"responseStart":1840.7999992370605,"secureConnectionStart":632.2999992370605},{"duration":292.0999994277954,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1163.1999998092651,"connectEnd":1163.1999998092651,"connectStart":1163.1999998092651,"domainLookupEnd":1163.1999998092651,"domainLookupStart":1163.1999998092651,"fetchStart":1163.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1163.1999998092651,"responseEnd":1455.2999992370605,"responseStart":1455.2999992370605,"secureConnectionStart":1163.1999998092651},{"duration":403.3999996185303,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1462.8999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1462.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1866.2999992370605,"responseStart":0,"secureConnectionStart":0},{"duration":379.9000005722046,"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&whisper-enabled=true","startTime":1486.0999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1486.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1866,"responseStart":0,"secureConnectionStart":0},{"duration":378.80000019073486,"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&whisper-enabled=true","startTime":1487.0999994277954,"connectEnd":1487.0999994277954,"connectStart":1487.0999994277954,"domainLookupEnd":1487.0999994277954,"domainLookupStart":1487.0999994277954,"fetchStart":1487.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":1487.0999994277954,"responseEnd":1865.8999996185303,"responseStart":1865.8999996185303,"secureConnectionStart":1487.0999994277954},{"duration":391.80000019073486,"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&whisper-enabled=true","startTime":1487.6999998092651,"connectEnd":1487.6999998092651,"connectStart":1487.6999998092651,"domainLookupEnd":1487.6999998092651,"domainLookupStart":1487.6999998092651,"fetchStart":1487.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1487.6999998092651,"responseEnd":1879.5,"responseStart":1879.5,"secureConnectionStart":1487.6999998092651}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":437,"responseStart":619,"responseEnd":629,"domLoading":622,"domInteractive":1877,"domContentLoadedEventStart":1877,"domContentLoadedEventEnd":1926,"domComplete":2125,"loadEventStart":2125,"loadEventEnd":2125,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1846.0999994277954},{"name":"bigPipe.sidebar-id.end","time":1847},{"name":"bigPipe.activity-panel-pipe-id.start","time":1847.1999998092651},{"name":"bigPipe.activity-panel-pipe-id.end","time":1850.0999994277954},{"name":"activityTabFullyLoaded","time":1980.8999996185303}],"measures":[],"correlationId":"a6ede3602a5fc5","effectiveType":"4g","downlink":9.2,"rtt":0,"serverDuration":118,"dbReadsTimeInMs":18,"dbConnsTimeInMs":28,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
This issue actually could be the same problem as the assertion failure in
MDEV-34588. The following is based on 10.6 216fdb155683e960297b089e024c439593bbe6a8.If we remove the implementation of ha_spider::extra() with the MERGE SE specific flags (see the diff block below), we get an assertion failure in spider/bugfix.mdev_29963 and it is the same assertion failure as reported in
MDEV-34588. Upon inspection, it happens at the data node when running LOCK TABLES t2 WRITE;, and the data node query is "lock tables `test`.`t` write".modified storage/spider/ha_spider.cc
@@ -1376,7 +1376,6 @@ int ha_spider::reset()
int ha_spider::extra(
enum ha_extra_function operation
) {
- int error_num;
DBUG_ENTER("ha_spider::extra");
DBUG_PRINT("info",("spider this=%p", this));
DBUG_PRINT("info",("spider operation=%d", (int) operation));
@@ -1428,16 +1427,6 @@ int ha_spider::extra(
wide_handler->insert_with_update = TRUE;
break;
#endif
- case HA_EXTRA_ATTACH_CHILDREN:
- DBUG_PRINT("info",("spider HA_EXTRA_ATTACH_CHILDREN"));
- if (!(wide_handler->trx = spider_get_trx(ha_thd(), TRUE, &error_num)))
- DBUG_RETURN(error_num);
- break;
- case HA_EXTRA_ADD_CHILDREN_LIST:
- DBUG_PRINT("info",("spider HA_EXTRA_ADD_CHILDREN_LIST"));
- if (!(wide_handler->trx = spider_get_trx(ha_thd(), TRUE, &error_num)))
- DBUG_RETURN(error_num);
- break;
#if defined(HA_EXTRA_HAS_STARTING_ORDERED_INDEX_SCAN) || defined(HA_EXTRA_HAS_HA_EXTRA_USE_CMP_REF)
#ifdef HA_EXTRA_HAS_STARTING_ORDERED_INDEX_SCAN
case HA_EXTRA_STARTING_ORDERED_INDEX_SCAN:
The thd at ha_spider::store_lock is different from that retrieved from spider->wide_handler->trx->thd. Below is the stack trace at the assertion failure:
__GI___assert_fail > thd_get_ha_data > spider_get_trx > spider_check_trx_and_get_conn > ha_spider::append_lock_tables_list > ha_spider::store_lock > get_lock_data > mysql_lock_tables > lock_tables > lock_tables_open_and_lock_tables > mysql_execute_command > ...
If we place a breakpoint at ha_spider::extra() and do rc in rr, it is hit in the same query at the data node with a MERGE specific flag. The stack looks like spider was relying on ha_spider::extra() to reset the trx, since ha_spider::open() is not always called from open_table() (called from open_and_process_table()):
ha_spider::extra > open_and_process_table > open_tables > open_tables > lock_tables_open_and_lock_tables > mysql_execute_command > ...
The same happens in the
MDEV-34588case. There, the assertion failure happens at the statement LOCK TABLES t2 READ,t1 WRITE.__GI___assert_fail > thd_get_ha_data > spider_get_trx > spider_check_trx_and_get_conn > ha_spider::append_lock_tables_list > ha_spider::store_lock > ha_partition::store_lock > get_lock_data > mysql_lock_tables > lock_tables > lock_tables_open_and_lock_tables > mysql_execute_command > ...
However ha_spider::extra() was not called because the
MDEV-33502change mentioned below decided not to call ha_spider::extra() from ha_partition::extra() with the MERGE-specific flag.ha_partition::extra > open_and_process_table > open_tables > open_tables > lock_tables_open_and_lock_tables > mysql_execute_command > ...
Note the similarities in the stacks too.