CREATETABLE t (a INT, KEY(a)) ENGINE=InnoDB PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (6), PARTITION p1 VALUES LESS THAN (174), PARTITION p2 VALUES LESS THAN (48317), PARTITION pn VALUES LESS THAN MAXVALUE);
ALTERTABLE t PARTITION BY RANGE (a) SUBPARTITION BY HASH (a) SUBPARTITIONS 2 (PARTITION p0 VALUES LESS THAN (5), PARTITION p1 VALUES LESS THAN (53), PARTITION p2 VALUES LESS THAN (20405), PARTITION p3 VALUES LESS THAN MAXVALUE);
#3 0x00007f17d9ec3f12 in __GI___assert_fail (assertion=0x56029216b3e0 "node->space == fil_system.sys_space", file=0x560292165e20 "/data/src/10.5-bug/storage/innobase/fil/fil0fil.cc", line=3972, function=0x56029216fd40 <fil_aio_callback(os_aio_userdata_t*)::__PRETTY_FUNCTION__> "void fil_aio_callback(os_aio_userdata_t*)") at assert.c:101
#4 0x0000560290f1636e in fil_aio_callback (data=0x7f17c93c1b00) at /data/src/10.5-bug/storage/innobase/fil/fil0fil.cc:3972
#5 0x0000560290aa0551 in io_callback (cb=0x633000089a30) at /data/src/10.5-bug/storage/innobase/os/os0file.cc:3901
#6 0x000056029103d92b in tpool::task_group::execute (this=0x612000009550, t=0x633000089ab8) at /data/src/10.5-bug/tpool/task_group.cc:55
#7 0x000056029103e1f9 in tpool::task::execute (this=0x633000089ab8) at /data/src/10.5-bug/tpool/task.cc:47
#8 0x0000560291032a3b in tpool::thread_pool_generic::worker_main (this=0x61600001ad80, thread_var=0x63000002f980) at /data/src/10.5-bug/tpool/tpool_generic.cc:518
#9 0x000056029103d39f in std::__invoke_impl<void, void (tpool::thread_pool_generic::* const&)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*>(std::__invoke_memfun_deref, void (tpool::thread_pool_generic::* const&)(tpool::worker_data*), tpool::thread_pool_generic*&&, tpool::worker_data*&&) (__f=@0x604000017f28: (void (tpool::thread_pool_generic::*)(tpool::thread_pool_generic * const, tpool::worker_data *)) 0x5602910328a8 <tpool::thread_pool_generic::worker_main(tpool::worker_data*)>, __t=<unknown type in /data/src/10.5-bug/sql/mariadbd, CU 0x80d0b74, DIE 0x80e22ec>, __args#0=<unknown type in /data/src/10.5-bug/sql/mariadbd, CU 0x80d0b74, DIE 0x80e22f8>) at /usr/include/c++/6/functional:227
#10 0x000056029103d201 in std::__invoke<void (tpool::thread_pool_generic::* const&)(tpool::worker_data*), tpool::thread_pool_generic*, tpool::worker_data*>(void (tpool::thread_pool_generic::* const&)(tpool::worker_data*), tpool::thread_pool_generic*&&, tpool::worker_data*&&) (__fn=@0x604000017f28: (void (tpool::thread_pool_generic::*)(tpool::thread_pool_generic * const, tpool::worker_data *)) 0x5602910328a8 <tpool::thread_pool_generic::worker_main(tpool::worker_data*)>, __args#0=<unknown type in /data/src/10.5-bug/sql/mariadbd, CU 0x80d0b74, DIE 0x80e22ec>, __args#1=<unknown type in /data/src/10.5-bug/sql/mariadbd, CU 0x80d0b74, DIE 0x80e22f8>) at /usr/include/c++/6/functional:251
#11 0x000056029103d195 in std::_Mem_fn_base<void (tpool::thread_pool_generic::*)(tpool::worker_data*), true>::operator()<tpool::thread_pool_generic*, tpool::worker_data*>(tpool::thread_pool_generic*&&, tpool::worker_data*&&) const (this=0x604000017f28, __args#0=<unknown type in /data/src/10.5-bug/sql/mariadbd, CU 0x80d0b74, DIE 0x80e22ec>, __args#1=<unknown type in /data/src/10.5-bug/sql/mariadbd, CU 0x80d0b74, DIE 0x80e22f8>) at /usr/include/c++/6/functional:604
#12 0x000056029103d147 in std::_Bind_simple<std::_Mem_fn<void (tpool::thread_pool_generic::*)(tpool::worker_data*)> (tpool::thread_pool_generic*, tpool::worker_data*)>::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) (this=0x604000017f18) at /usr/include/c++/6/functional:1391
#13 0x000056029103d045 in std::_Bind_simple<std::_Mem_fn<void (tpool::thread_pool_generic::*)(tpool::worker_data*)> (tpool::thread_pool_generic*, tpool::worker_data*)>::operator()() (this=0x604000017f18) at /usr/include/c++/6/functional:1380
#14 0x000056029103d024 in std::thread::_State_impl<std::_Bind_simple<std::_Mem_fn<void (tpool::thread_pool_generic::*)(tpool::worker_data*)> (tpool::thread_pool_generic*, tpool::worker_data*)> >::_M_run() (this=0x604000017f10) at /usr/include/c++/6/thread:197
#15 0x00007f17da80be6f in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#16 0x00007f17dbe4c4a4 in start_thread (arg=0x7f17c93c2700) at pthread_create.c:456
#17 0x00007f17d9f80d0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
Introduced recently, I didn't bisect for the exact commit. MDEV-15053 is suspected.
It turns out that this was a bogus debug assertion that I added in MDEV-15053. The setting innodb_immediate_scrub_data_uncompressed=ON would enable the MDEV-15528 scrubbing logic, and in that case. we can initiate an asynchronous write to a data file without passing a buffer block pointer.
Marko Mäkelä
added a comment - It turns out that this was a bogus debug assertion that I added in MDEV-15053 . The setting innodb_immediate_scrub_data_uncompressed=ON would enable the MDEV-15528 scrubbing logic, and in that case. we can initiate an asynchronous write to a data file without passing a buffer block pointer.
People
Marko Mäkelä
Elena Stepanova
Votes:
0Vote for this issue
Watchers:
2Start 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":1388.7999997138977,"ttfb":288.19999980926514,"pageVisibility":"visible","entityId":87956,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":32,"apdex":0.5,"journeyId":"8fae98a5-8d92-490f-aeed-71938b55856f","navigationType":0,"readyForUser":1473.0999999046326,"redirectCount":0,"resourceLoadedEnd":2466.3999996185303,"resourceLoadedStart":293.09999990463257,"resourceTiming":[{"duration":558.7999997138977,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":293.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":293.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":851.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":558.8000001907349,"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":293.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":293.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":852.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":620.0999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":293.5,"connectEnd":293.5,"connectStart":293.5,"domainLookupEnd":293.5,"domainLookupStart":293.5,"fetchStart":293.5,"redirectEnd":0,"redirectStart":0,"requestStart":293.5,"responseEnd":913.5999999046326,"responseStart":913.5999999046326,"secureConnectionStart":293.5},{"duration":709,"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":293.69999980926514,"connectEnd":293.69999980926514,"connectStart":293.69999980926514,"domainLookupEnd":293.69999980926514,"domainLookupStart":293.69999980926514,"fetchStart":293.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":293.69999980926514,"responseEnd":1002.6999998092651,"responseStart":1002.6999998092651,"secureConnectionStart":293.69999980926514},{"duration":724.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":294,"connectEnd":294,"connectStart":294,"domainLookupEnd":294,"domainLookupStart":294,"fetchStart":294,"redirectEnd":0,"redirectStart":0,"requestStart":294,"responseEnd":1018.0999999046326,"responseStart":1018.0999999046326,"secureConnectionStart":294},{"duration":734.6999998092651,"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":294,"connectEnd":294,"connectStart":294,"domainLookupEnd":294,"domainLookupStart":294,"fetchStart":294,"redirectEnd":0,"redirectStart":0,"requestStart":294,"responseEnd":1028.6999998092651,"responseStart":1028.6999998092651,"secureConnectionStart":294},{"duration":735.3000001907349,"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":294.19999980926514,"connectEnd":294.19999980926514,"connectStart":294.19999980926514,"domainLookupEnd":294.19999980926514,"domainLookupStart":294.19999980926514,"fetchStart":294.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":294.19999980926514,"responseEnd":1029.5,"responseStart":1029.5,"secureConnectionStart":294.19999980926514},{"duration":767.0999999046326,"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":294.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":294.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1061.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":737.1999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":294.59999990463257,"connectEnd":294.59999990463257,"connectStart":294.59999990463257,"domainLookupEnd":294.59999990463257,"domainLookupStart":294.59999990463257,"fetchStart":294.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":294.59999990463257,"responseEnd":1031.7999997138977,"responseStart":1031.7999997138977,"secureConnectionStart":294.59999990463257},{"duration":767.4000000953674,"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":294.7999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":294.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1062.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":737.5999999046326,"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":295,"connectEnd":295,"connectStart":295,"domainLookupEnd":295,"domainLookupStart":295,"fetchStart":295,"redirectEnd":0,"redirectStart":0,"requestStart":295,"responseEnd":1032.5999999046326,"responseStart":1032.5999999046326,"secureConnectionStart":295},{"duration":1467,"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":309.69999980926514,"connectEnd":309.69999980926514,"connectStart":309.69999980926514,"domainLookupEnd":309.69999980926514,"domainLookupStart":309.69999980926514,"fetchStart":309.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":309.69999980926514,"responseEnd":1776.6999998092651,"responseStart":1776.6999998092651,"secureConnectionStart":309.69999980926514},{"duration":2156.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":309.7999997138977,"connectEnd":309.7999997138977,"connectStart":309.7999997138977,"domainLookupEnd":309.7999997138977,"domainLookupStart":309.7999997138977,"fetchStart":309.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":309.7999997138977,"responseEnd":2466.3999996185303,"responseStart":2466.3999996185303,"secureConnectionStart":309.7999997138977},{"duration":700,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1077.0999999046326,"connectEnd":1077.0999999046326,"connectStart":1077.0999999046326,"domainLookupEnd":1077.0999999046326,"domainLookupStart":1077.0999999046326,"fetchStart":1077.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":1077.0999999046326,"responseEnd":1777.0999999046326,"responseStart":1777.0999999046326,"secureConnectionStart":1077.0999999046326},{"duration":1106.6999998092651,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1381,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1381,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2487.699999809265,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":129,"responseStart":288,"responseEnd":298,"domLoading":291,"domInteractive":2492,"domContentLoadedEventStart":2492,"domContentLoadedEventEnd":2567,"domComplete":3068,"loadEventStart":3068,"loadEventEnd":3069,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2471.5999999046326},{"name":"bigPipe.sidebar-id.end","time":2472.3999996185303},{"name":"bigPipe.activity-panel-pipe-id.start","time":2472.5999999046326},{"name":"bigPipe.activity-panel-pipe-id.end","time":2473.2999997138977},{"name":"activityTabFullyLoaded","time":2581.199999809265}],"measures":[],"correlationId":"f5de756b522533","effectiveType":"4g","downlink":9.2,"rtt":0,"serverDuration":98,"dbReadsTimeInMs":13,"dbConnsTimeInMs":23,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
It turns out that this was a bogus debug assertion that I added in
MDEV-15053. The setting innodb_immediate_scrub_data_uncompressed=ON would enable theMDEV-15528scrubbing logic, and in that case. we can initiate an asynchronous write to a data file without passing a buffer block pointer.