ALTERTABLE t1 ADD FULLTEXT INDEX (b), ADD FULLTEXT INDEX (c);
FLUSH TABLE t1 WITHREAD LOCK;
UNLOCK TABLES;
ALTERTABLE t1 ADD FULLTEXT INDEX (d);
ALTERTABLE t1 PARTITION BY HASH(pk) PARTITIONS 13;
FLUSH TABLE t2 WITHREAD LOCK;
# Cleanup
UNLOCK TABLES;
DROPTABLE t1, t2;
10.5 2cec0523
2020-10-29 00:04:22 0x7ffb2cb08700 InnoDB: Assertion failure in file /data/src/10.5/storage/innobase/fil/fil0fil.cc line 517
InnoDB: Failing assertion: node->is_open()
#5 0x00007ffb3374e859 in __GI_abort () at abort.c:79
#6 0x00005590f1bae1a0 in ut_dbg_assertion_failed (expr=0x5590f231d714 "node->is_open()", file=0x5590f231d4b0 "/data/src/10.5/storage/innobase/fil/fil0fil.cc", line=517) at /data/src/10.5/storage/innobase/ut/ut0dbg.cc:60
#7 0x00005590f1cba900 in fil_space_t::flush_low (this=0x7ffaf0225b48) at /data/src/10.5/storage/innobase/fil/fil0fil.cc:517
#8 0x00005590f1b3514b in fil_space_t::flush (this=0x7ffaf0225b48) at /data/src/10.5/storage/innobase/include/fil0fil.h:1466
#9 0x00005590f1b34520 in row_quiesce_table_start (table=0x7ffaf0205b88, trx=0x7ffb2ddb21e8) at /data/src/10.5/storage/innobase/row/row0quiesce.cc:548
#10 0x00005590f192f638 in ha_innobase::external_lock (this=0x7ffaf005e1d0, thd=0x7ffaf0000db8, lock_type=0) at /data/src/10.5/storage/innobase/handler/ha_innodb.cc:15656
#11 0x00005590f14b04e2 in handler::ha_external_lock (this=0x7ffaf005e1d0, thd=0x7ffaf0000db8, lock_type=0) at /data/src/10.5/sql/handler.cc:6669
#12 0x00005590f15f66d7 in lock_external (thd=0x7ffaf0000db8, tables=0x7ffaf00fa638, count=1) at /data/src/10.5/sql/lock.cc:393
#13 0x00005590f15f637e in mysql_lock_tables (thd=0x7ffaf0000db8, sql_lock=0x7ffaf00fa618, flags=4096) at /data/src/10.5/sql/lock.cc:338
#14 0x00005590f15f6232 in mysql_lock_tables (thd=0x7ffaf0000db8, tables=0x7ffaf00146d0, count=1, flags=4096) at /data/src/10.5/sql/lock.cc:301
#15 0x00005590f1090922 in lock_tables (thd=0x7ffaf0000db8, tables=0x7ffaf0013ff8, count=1, flags=4096) at /data/src/10.5/sql/sql_base.cc:5472
#16 0x00005590f108fda0 in open_and_lock_tables (thd=0x7ffaf0000db8, options=..., tables=0x7ffaf0013ff8, derived=false, flags=4096, prelocking_strategy=0x7ffb2cb06cf0) at /data/src/10.5/sql/sql_base.cc:5183
#17 0x00005590f131f478 in open_and_lock_tables (thd=0x7ffaf0000db8, tables=0x7ffaf0013ff8, derived=false, flags=4096, prelocking_strategy=0x7ffb2cb06cf0) at /data/src/10.5/sql/sql_base.h:276
#18 0x00005590f13205d8 in flush_tables_with_read_lock (thd=0x7ffaf0000db8, all_tables=0x7ffaf0013ff8) at /data/src/10.5/sql/sql_reload.cc:576
#19 0x00005590f113b8cb in mysql_execute_command (thd=0x7ffaf0000db8) at /data/src/10.5/sql/sql_parse.cc:5391
#20 0x00005590f1143dbe in mysql_parse (thd=0x7ffaf0000db8, rawbuf=0x7ffaf0013f20 "FLUSH TABLE t2 WITH READ LOCK", length=29, parser_state=0x7ffb2cb07510, is_com_multi=false, is_next_command=false) at /data/src/10.5/sql/sql_parse.cc:8010
#21 0x00005590f1130112 in dispatch_command (command=COM_QUERY, thd=0x7ffaf0000db8, packet=0x7ffaf0009099 "FLUSH TABLE t2 WITH READ LOCK", packet_length=29, is_com_multi=false, is_next_command=false) at /data/src/10.5/sql/sql_parse.cc:1871
#22 0x00005590f112e906 in do_command (thd=0x7ffaf0000db8) at /data/src/10.5/sql/sql_parse.cc:1352
#23 0x00005590f12dae63 in do_handle_one_connection (connect=0x5590f3f6aae8, put_in_cache=true) at /data/src/10.5/sql/sql_connect.cc:1410
#24 0x00005590f12dabc6 in handle_one_connection (arg=0x5590f3f84568) at /data/src/10.5/sql/sql_connect.cc:1312
#25 0x00005590f183814f in pfs_spawn_thread (arg=0x5590f3f6a728) at /data/src/10.5/storage/perfschema/pfs.cc:2201
#26 0x00007ffb33c77609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#27 0x00007ffb3384b293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Debug, release and ASAN builds are affected the same way.
Reproducible on 10.5. Not reproducible on 10.4.
The failure appeared in 10.5 after this commit:
commit 118e258aaac5da75a2ac4556201aaea3688fac67
Author: Marko Mäkelä <marko.makela@mariadb.com>
Date: Mon Oct 26 16:04:12 2020 +0200
MDEV-23855: Shrink fil_space_t
Attachments
Issue Links
is caused by
MDEV-23855InnoDB log checkpointing causes regression for write-heavy OLTP
This bug is related to the removal of fil_system.LRU in MDEV-23855, which was motivated by reducing contention on fil_system.mutex.
Under rr record, it took several attempts to reproduce this. The file for t2.ibd had been closed during the execution of
ALTERTABLE t1 PARTITION BY HASH(pk) PARTITIONS 13;
which would rebuild the table and its numerous internal FTS_ tables.
For some reason, no matter what I try, innodb_open_files will always be 421 on my system. Here is a simpler test case:
--source include/have_innodb.inc
--source include/have_partition.inc
CREATETABLE t2 (f INT) ENGINE=InnoDB;
CREATETABLE t1 (pk INTPRIMARYKEY, t TEXT) ENGINE=InnoDB
PARTITION BY HASH(pk) PARTITIONS 420;
FLUSH TABLE t2 WITHREAD LOCK;
UNLOCK TABLES;
DROPTABLE t1, t2;
Marko Mäkelä
added a comment - This bug is related to the removal of fil_system.LRU in MDEV-23855 , which was motivated by reducing contention on fil_system.mutex .
Under rr record , it took several attempts to reproduce this. The file for t2.ibd had been closed during the execution of
ALTER TABLE t1 PARTITION BY HASH(pk) PARTITIONS 13;
which would rebuild the table and its numerous internal FTS_ tables.
For some reason, no matter what I try, innodb_open_files will always be 421 on my system. Here is a simpler test case:
--source include/have_innodb.inc
--source include/have_partition.inc
CREATE TABLE t2 (f INT ) ENGINE=InnoDB;
CREATE TABLE t1 (pk INT PRIMARY KEY , t TEXT) ENGINE=InnoDB
PARTITION BY HASH(pk) PARTITIONS 420;
FLUSH TABLE t2 WITH READ LOCK;
UNLOCK TABLES;
DROP TABLE t1, t2;
+# Now, the data file for t0 should not be open anymore.
+FLUSH TABLE t0 WITH READ LOCK;
+UNLOCK TABLES;
+DROP TABLE t0, t1, t2, t3, t4, t5, t6, t7;
Marko Mäkelä
added a comment - It turns out that there is some rather convoluted logic around innodb_open_files . If you set it to anything smaller than 10, then we will roll dice:
if (innobase_open_files < 10) {
innobase_open_files = 300;
if (srv_file_per_table && tc_size > 300 && tc_size < open_files_limit) {
innobase_open_files = tc_size;
}
}
if (innobase_open_files > open_files_limit) {
ib::warn() << "innodb_open_files " << innobase_open_files
<< " should not be greater"
<< " than the open_files_limit " << open_files_limit;
if (innobase_open_files > tc_size) {
innobase_open_files = tc_size;
}
}
Due to this, the minimum deterministic start-up value of innodb_open_files is 10. Here is a minimal test case:
diff --git a/mysql-test/suite/innodb/t/flush.opt b/mysql-test/suite/innodb/t/flush.opt
new file mode 100644
index 00000000000..99dbd8f47c3
--- /dev/null
+++ b/mysql-test/suite/innodb/t/flush.opt
@@ -0,0 +1 @@
+--innodb-open-files=10
diff --git a/mysql-test/suite/innodb/t/flush.test b/mysql-test/suite/innodb/t/flush.test
new file mode 100644
index 00000000000..e03728825cf
--- /dev/null
+++ b/mysql-test/suite/innodb/t/flush.test
@@ -0,0 +1,19 @@
+--source include/have_innodb.inc
+
+SELECT @@GLOBAL.innodb_open_files;
+
+CREATE TABLE t0 (a INT) ENGINE=InnoDB;
+# Ensure that the created table t0 is clean.
+FLUSH TABLE t0 WITH READ LOCK;
+UNLOCK TABLES;
+CREATE TABLE t1 (a INT) ENGINE=InnoDB;
+CREATE TABLE t2 (a INT) ENGINE=InnoDB;
+CREATE TABLE t3 (a INT) ENGINE=InnoDB;
+CREATE TABLE t4 (a INT) ENGINE=InnoDB;
+CREATE TABLE t5 (a INT) ENGINE=InnoDB;
+CREATE TABLE t6 (a INT) ENGINE=InnoDB;
+CREATE TABLE t7 (a INT) ENGINE=InnoDB;
+# Now, the data file for t0 should not be open anymore.
+FLUSH TABLE t0 WITH READ LOCK;
+UNLOCK TABLES;
+DROP TABLE t0, t1, t2, t3, t4, t5, t6, t7;
People
Marko Mäkelä
Elena Stepanova
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":1995.3999996185303,"ttfb":738.6999998092651,"pageVisibility":"visible","entityId":93210,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"2c7d9936-feff-4276-bdc2-d4c6fca98ef3","navigationType":0,"readyForUser":2089.699999809265,"redirectCount":0,"resourceLoadedEnd":3031.0999999046326,"resourceLoadedStart":745.3999996185303,"resourceTiming":[{"duration":758.2000002861023,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":745.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":745.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1503.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":758.1999998092651,"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":745.6999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":745.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1503.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":767.1000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":745.8999996185303,"connectEnd":745.8999996185303,"connectStart":745.8999996185303,"domainLookupEnd":745.8999996185303,"domainLookupStart":745.8999996185303,"fetchStart":745.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":745.8999996185303,"responseEnd":1513,"responseStart":1512.8999996185303,"secureConnectionStart":745.8999996185303},{"duration":829.7999997138977,"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":746.0999999046326,"connectEnd":746.0999999046326,"connectStart":746.0999999046326,"domainLookupEnd":746.0999999046326,"domainLookupStart":746.0999999046326,"fetchStart":746.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":746.0999999046326,"responseEnd":1575.8999996185303,"responseStart":1575.8999996185303,"secureConnectionStart":746.0999999046326},{"duration":833.5999999046326,"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":746.2999997138977,"connectEnd":746.2999997138977,"connectStart":746.2999997138977,"domainLookupEnd":746.2999997138977,"domainLookupStart":746.2999997138977,"fetchStart":746.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":746.2999997138977,"responseEnd":1579.8999996185303,"responseStart":1579.8999996185303,"secureConnectionStart":746.2999997138977},{"duration":833.7999997138977,"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":746.5,"connectEnd":746.5,"connectStart":746.5,"domainLookupEnd":746.5,"domainLookupStart":746.5,"fetchStart":746.5,"redirectEnd":0,"redirectStart":0,"requestStart":746.5,"responseEnd":1580.2999997138977,"responseStart":1580.2999997138977,"secureConnectionStart":746.5},{"duration":833.9000000953674,"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":746.6999998092651,"connectEnd":746.6999998092651,"connectStart":746.6999998092651,"domainLookupEnd":746.6999998092651,"domainLookupStart":746.6999998092651,"fetchStart":746.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":746.6999998092651,"responseEnd":1580.5999999046326,"responseStart":1580.5999999046326,"secureConnectionStart":746.6999998092651},{"duration":910.8000001907349,"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":746.7999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":746.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1657.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":834.0999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":747,"connectEnd":747,"connectStart":747,"domainLookupEnd":747,"domainLookupStart":747,"fetchStart":747,"redirectEnd":0,"redirectStart":0,"requestStart":747,"responseEnd":1581.0999999046326,"responseStart":1581.0999999046326,"secureConnectionStart":747},{"duration":910.5999999046326,"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":747.1999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":747.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1657.7999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":834.3000001907349,"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":747.3999996185303,"connectEnd":747.3999996185303,"connectStart":747.3999996185303,"domainLookupEnd":747.3999996185303,"domainLookupStart":747.3999996185303,"fetchStart":747.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":747.3999996185303,"responseEnd":1581.6999998092651,"responseStart":1581.6999998092651,"secureConnectionStart":747.3999996185303},{"duration":1311.9000000953674,"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":748.2999997138977,"connectEnd":748.2999997138977,"connectStart":748.2999997138977,"domainLookupEnd":748.2999997138977,"domainLookupStart":748.2999997138977,"fetchStart":748.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":748.2999997138977,"responseEnd":2060.199999809265,"responseStart":2060.199999809265,"secureConnectionStart":748.2999997138977},{"duration":2213.7999997138977,"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":753,"connectEnd":753,"connectStart":753,"domainLookupEnd":753,"domainLookupStart":753,"fetchStart":753,"redirectEnd":0,"redirectStart":0,"requestStart":753,"responseEnd":2966.7999997138977,"responseStart":2966.7999997138977,"secureConnectionStart":753},{"duration":389.7000002861023,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1670.8999996185303,"connectEnd":1670.8999996185303,"connectStart":1670.8999996185303,"domainLookupEnd":1670.8999996185303,"domainLookupStart":1670.8999996185303,"fetchStart":1670.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":1670.8999996185303,"responseEnd":2060.5999999046326,"responseStart":2060.5999999046326,"secureConnectionStart":1670.8999996185303},{"duration":1019.5999999046326,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1988.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1988.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":3007.699999809265,"responseStart":0,"secureConnectionStart":0},{"duration":896.3000001907349,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bv2/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":2134.7999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":2134.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":3031.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":882.1000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/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":2135.8999996185303,"connectEnd":2135.8999996185303,"connectStart":2135.8999996185303,"domainLookupEnd":2135.8999996185303,"domainLookupStart":2135.8999996185303,"fetchStart":2135.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":2135.8999996185303,"responseEnd":3018,"responseStart":3018,"secureConnectionStart":2135.8999996185303},{"duration":887.2999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/s/53a43b6764f587426c7bb9a150184c00-CDN/lu2bv2/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":2137.0999999046326,"connectEnd":2137.0999999046326,"connectStart":2137.0999999046326,"domainLookupEnd":2137.0999999046326,"domainLookupStart":2137.0999999046326,"fetchStart":2137.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":2137.0999999046326,"responseEnd":3024.3999996185303,"responseStart":3024.3999996185303,"secureConnectionStart":2137.0999999046326}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":560,"responseStart":739,"responseEnd":747,"domLoading":743,"domInteractive":3043,"domContentLoadedEventStart":3043,"domContentLoadedEventEnd":3098,"domComplete":3830,"loadEventStart":3830,"loadEventEnd":3831,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":3008.7999997138977},{"name":"bigPipe.sidebar-id.end","time":3009.7999997138977},{"name":"bigPipe.activity-panel-pipe-id.start","time":3009.8999996185303},{"name":"bigPipe.activity-panel-pipe-id.end","time":3013.199999809265},{"name":"activityTabFullyLoaded","time":3116.8999996185303}],"measures":[],"correlationId":"f8ddfc39508185","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":105,"dbReadsTimeInMs":11,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
This bug is related to the removal of fil_system.LRU in
MDEV-23855, which was motivated by reducing contention on fil_system.mutex.Under rr record, it took several attempts to reproduce this. The file for t2.ibd had been closed during the execution of
which would rebuild the table and its numerous internal FTS_ tables.
For some reason, no matter what I try, innodb_open_files will always be 421 on my system. Here is a simpler test case:
--source include/have_innodb.inc
--source include/have_partition.inc
UNLOCK TABLES;