For the dataset in MDEV-30068, a failure occurred during crash recovery with 10.6-based branch:
2022-11-21 8:59:32 0 [ERROR] [FATAL] InnoDB: Trying to write 65536 bytes at 2359296 outside the bounds of the file: ./test/t5.ibd
Before the failure, there was one call to fil_system_t::extend_to_recv_size() from recv_sys.apply_log(false).
The failure would occur during "background recovery":
#5 0x00005640dd514e7d in fil_invalid_page_access_msg (name=<optimized out>,
#25 0x00005640dd2cc19a in trx_resurrect (undo=undo@entry=0x611000043fc0, rseg=rseg@entry=0x5640decf2340 <trx_sys+30080>, start_time=start_time@entry=1669049972, start_time_micro=start_time_micro@entry=284020700207, rows_to_undo=rows_to_undo@entry=0x7ffc0c346840) at /data/Server/bb-10.6-MDEV-29835extra/storage/innobase/trx/trx0trx.cc:701
#26 0x00005640dd2cc843 in trx_lists_init_at_db_start () at /data/Server/bb-10.6-MDEV-29835extra/storage/innobase/trx/trx0trx.cc:752
#27 0x00005640dd23d5f0 in srv_start (create_new_db=<optimized out>) at /data/Server/bb-10.6-MDEV-29835extra/storage/innobase/srv/srv0start.cc:1485
#28 0x00005640dcdb1952 in innodb_init (p=<optimized out>) at /data/Server/bb-10.6-MDEV-29835extra/storage/innobase/handler/ha_innodb.cc:4293
#29 0x00005640dc30fd21 in ha_initialize_handlerton (plugin=0x62100002e010) at /data/Server/bb-10.6-MDEV-29835extra/sql/handler.cc:659
As far as I can tell, the problem should be fixed by extending the tablespace before invoking buf_LRU_get_free_block(), at least in recv_sys_t::recover_low() and possibly elsewhere (definitely when MDEV-14481 is implemented).
I was not able to reproduce the error for a copy of the data directory, so some additional testing will be needed.
[ 'TBR-1663', 'INFO: Reporter \'CrashRecovery.\': Attempting database recovery using the server.+\[Note\] InnoDB: Starting crash recovery from checkpoint LSN.+\[ERROR\] \[FATAL\] InnoDB: Trying to write .{1,20} bytes at .{1,20} outside the bounds of the file: .{1,250}\.ibd.+RESULT: The RQG run ended with status STATUS_RECOVERY_FAILURE' ],
The fix that I initially had in mind is too complex, could cause a performance regression, and actually cannot fix the failure.
In the rr replay trace, fil_ibd_load() is being invoked multiple times on the file test/t5.ibd, and each time it returns FIL_LOAD_DEFER, which the caller does not make note of (MDEV-25909). Each of those calls also invokes os_file_get_size() but throws away the result.
The data set that I uploaded to MDEV-30068 actually does recover, because the first page of the file test/t5.ibd had already been written by recovery.
I should have copied the data directory before the restart attempt. In that data directory, the file test/t5.ibd consists of 448*65536 NUL bytes.
This problem was caused by MDEV-24626 in MariaDB Server 10.6.
As far as I can tell, a second attempt to recover the data directory should succeed.
The FSP_SIZE in page 0 of the file will be recovered to 0x1c0 (448) pages on my system, while in the data directory that I attached to MDEV-30068, it was only recovered to 10 pages. That is what recv_sys_t::recover_deferred() recovered as the file size in the rr replay traces.
Finally, I was able to reproduce this with data.tar.xz (before the recovery attempt) and encryption_keys.txt and a little cheat:
2022-11-22 12:54:38 0 [Note] InnoDB: Starting a batch to recover 503 pages from redo log.
2022-11-22 12:54:38 0 [ERROR] [FATAL] InnoDB: Trying to write 65536 bytes at 2359296 outside the bounds of the file: ./test/t5.ibd
Like in the rr replay trace, the tablespace size is 10 and the recv_size is 448 pages at this point.
I think that the problem occurs when a created data file is recovered during an earlier batch of recovery. At that point, we fail to read the file size metadata from the file system.
Marko Mäkelä
added a comment - The fix that I initially had in mind is too complex, could cause a performance regression, and actually cannot fix the failure.
In the rr replay trace, fil_ibd_load() is being invoked multiple times on the file test/t5.ibd , and each time it returns FIL_LOAD_DEFER , which the caller does not make note of ( MDEV-25909 ). Each of those calls also invokes os_file_get_size() but throws away the result.
The data set that I uploaded to MDEV-30068 actually does recover, because the first page of the file test/t5.ibd had already been written by recovery.
I should have copied the data directory before the restart attempt. In that data directory, the file test/t5.ibd consists of 448*65536 NUL bytes.
This problem was caused by MDEV-24626 in MariaDB Server 10.6.
As far as I can tell, a second attempt to recover the data directory should succeed.
The FSP_SIZE in page 0 of the file will be recovered to 0x1c0 (448) pages on my system, while in the data directory that I attached to MDEV-30068 , it was only recovered to 10 pages. That is what recv_sys_t::recover_deferred() recovered as the file size in the rr replay traces.
Finally, I was able to reproduce this with data.tar.xz (before the recovery attempt) and encryption_keys.txt and a little cheat:
diff --git a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc
index 9b81aa9307c..73d29692907 100644
--- a/storage/innobase/handler/ha_innodb.cc
+++ b/storage/innobase/handler/ha_innodb.cc
@@ -3821,6 +3821,7 @@ static int innodb_init_params()
pages, even for larger pages */
MYSQL_SYSVAR_NAME(buffer_pool_size).min_val= min_buffer_pool_size();
+#if 0
if (innobase_buffer_pool_size < MYSQL_SYSVAR_NAME(buffer_pool_size).min_val) {
ib::error() << "innodb_page_size="
<< srv_page_size << " requires "
@@ -3830,6 +3831,7 @@ static int innodb_init_params()
<< "MiB";
DBUG_RETURN(HA_ERR_INITIALIZATION);
}
+#endif
#ifndef HAVE_LZ4
if (innodb_compression_algorithm == PAGE_LZ4_ALGORITHM) {
mariadbd --plugin-dir=$BUILD_DIR/plugin/file_key_management --plugin-load-add=file_key_management.so --file-key-management-filename=$(pwd)/encryption_keys.txt --innodb_page_size=64K --innodb-log-file-size=96M --innodb-buffer-pool-size=12M --datadir $(pwd)/data
10.6 377ec1b5c906ea55fa2af9ae048a14eb9e1cf201 (patched)
2022-11-22 12:54:38 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=48561117,51775692
2022-11-22 12:54:38 0 [Note] InnoDB: Starting a batch to recover 503 pages from redo log.
2022-11-22 12:54:38 0 [ERROR] [FATAL] InnoDB: Trying to write 65536 bytes at 2359296 outside the bounds of the file: ./test/t5.ibd
Like in the rr replay trace, the tablespace size is 10 and the recv_size is 448 pages at this point.
I think that the problem occurs when a created data file is recovered during an earlier batch of recovery. At that point, we fail to read the file size metadata from the file system.
Otto Kekäläinen
added a comment - I saw this on s390x builder on Launchpad for MariaDB 10.11.7:
innodb.undo_truncate '4k,innodb' w2 [ fail ] Found warnings/errors in server log file!
Test ended at 2024-05-08 03:54:42
line
2024-05-08 3:54:18 0 [ERROR] [FATAL] InnoDB: Trying to write 4096 bytes at 2621440 outside the bounds of the file: .//undo001
Attempting backtrace. You can use the following information to find out
^ Found warnings in /<<PKGBUILDDIR>>/builddir/mysql-test/var/2/log/mysqld.1.err
ok
Full log: https://launchpadlibrarian.net/728605875/buildlog_ubuntu-noble-s390x.mariadb_1%3A10.11.7-5~bpo24.04.1~1715057361.1833c7608a3+debian.latest_BUILDING.txt.gz
People
Marko Mäkelä
Marko Mäkelä
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":1177.9000005722046,"ttfb":373.80000019073486,"pageVisibility":"visible","entityId":117093,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"1a2a8702-8f8e-40d5-8838-a348777f5420","navigationType":0,"readyForUser":1291.6000003814697,"redirectCount":0,"resourceLoadedEnd":1330.1000003814697,"resourceLoadedStart":379,"resourceTiming":[{"duration":317.20000076293945,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":379,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":379,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":696.2000007629395,"responseStart":0,"secureConnectionStart":0},{"duration":317.19999980926514,"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":379.4000005722046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":379.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":696.6000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":326.1000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":379.5,"connectEnd":379.5,"connectStart":379.5,"domainLookupEnd":379.5,"domainLookupStart":379.5,"fetchStart":379.5,"redirectEnd":0,"redirectStart":0,"requestStart":379.5,"responseEnd":705.6000003814697,"responseStart":705.6000003814697,"secureConnectionStart":379.5},{"duration":383.69999980926514,"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":379.70000076293945,"connectEnd":379.70000076293945,"connectStart":379.70000076293945,"domainLookupEnd":379.70000076293945,"domainLookupStart":379.70000076293945,"fetchStart":379.70000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":379.70000076293945,"responseEnd":763.4000005722046,"responseStart":763.4000005722046,"secureConnectionStart":379.70000076293945},{"duration":387.5999994277954,"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":379.9000005722046,"connectEnd":379.9000005722046,"connectStart":379.9000005722046,"domainLookupEnd":379.9000005722046,"domainLookupStart":379.9000005722046,"fetchStart":379.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":379.9000005722046,"responseEnd":767.5,"responseStart":767.5,"secureConnectionStart":379.9000005722046},{"duration":388,"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":380.1000003814697,"connectEnd":380.1000003814697,"connectStart":380.1000003814697,"domainLookupEnd":380.1000003814697,"domainLookupStart":380.1000003814697,"fetchStart":380.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":380.1000003814697,"responseEnd":768.1000003814697,"responseStart":768.1000003814697,"secureConnectionStart":380.1000003814697},{"duration":388.19999980926514,"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":380.30000019073486,"connectEnd":380.30000019073486,"connectStart":380.30000019073486,"domainLookupEnd":380.30000019073486,"domainLookupStart":380.30000019073486,"fetchStart":380.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":380.30000019073486,"responseEnd":768.5,"responseStart":768.4000005722046,"secureConnectionStart":380.30000019073486},{"duration":473.30000019073486,"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":380.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":380.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":853.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":388.0999994277954,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":380.70000076293945,"connectEnd":380.70000076293945,"connectStart":380.70000076293945,"domainLookupEnd":380.70000076293945,"domainLookupStart":380.70000076293945,"fetchStart":380.70000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":380.70000076293945,"responseEnd":768.8000001907349,"responseStart":768.8000001907349,"secureConnectionStart":380.70000076293945},{"duration":473.19999980926514,"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":380.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":380.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":854,"responseStart":0,"secureConnectionStart":0},{"duration":388.4000005722046,"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":381,"connectEnd":381,"connectStart":381,"domainLookupEnd":381,"domainLookupStart":381,"fetchStart":381,"redirectEnd":0,"redirectStart":0,"requestStart":381,"responseEnd":769.4000005722046,"responseStart":769.4000005722046,"secureConnectionStart":381},{"duration":702.5999994277954,"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":387.20000076293945,"connectEnd":387.20000076293945,"connectStart":387.20000076293945,"domainLookupEnd":387.20000076293945,"domainLookupStart":387.20000076293945,"fetchStart":387.20000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":387.20000076293945,"responseEnd":1089.8000001907349,"responseStart":1089.8000001907349,"secureConnectionStart":387.20000076293945},{"duration":798.8999996185303,"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":399.70000076293945,"connectEnd":399.70000076293945,"connectStart":399.70000076293945,"domainLookupEnd":399.70000076293945,"domainLookupStart":399.70000076293945,"fetchStart":399.70000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":399.70000076293945,"responseEnd":1198.6000003814697,"responseStart":1198.6000003814697,"secureConnectionStart":399.70000076293945},{"duration":224.69999980926514,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":865.7000007629395,"connectEnd":865.7000007629395,"connectStart":865.7000007629395,"domainLookupEnd":865.7000007629395,"domainLookupStart":865.7000007629395,"fetchStart":865.7000007629395,"redirectEnd":0,"redirectStart":0,"requestStart":865.7000007629395,"responseEnd":1090.4000005722046,"responseStart":1090.4000005722046,"secureConnectionStart":865.7000007629395},{"duration":200.19999980926514,"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":1129.9000005722046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1129.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1330.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":115.80000019073486,"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":1130.8000001907349,"connectEnd":1130.8000001907349,"connectStart":1130.8000001907349,"domainLookupEnd":1130.8000001907349,"domainLookupStart":1130.8000001907349,"fetchStart":1130.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":1130.8000001907349,"responseEnd":1246.6000003814697,"responseStart":1246.6000003814697,"secureConnectionStart":1130.8000001907349},{"duration":123.59999942779541,"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":1131.2000007629395,"connectEnd":1131.2000007629395,"connectStart":1131.2000007629395,"domainLookupEnd":1131.2000007629395,"domainLookupStart":1131.2000007629395,"fetchStart":1131.2000007629395,"redirectEnd":0,"redirectStart":0,"requestStart":1131.2000007629395,"responseEnd":1254.8000001907349,"responseStart":1254.8000001907349,"secureConnectionStart":1131.2000007629395},{"duration":215.19999980926514,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1171.6000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1171.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1386.8000001907349,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":117,"responseStart":374,"responseEnd":400,"domLoading":377,"domInteractive":1462,"domContentLoadedEventStart":1462,"domContentLoadedEventEnd":1522,"domComplete":1837,"loadEventStart":1838,"loadEventEnd":1838,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1397.5},{"name":"bigPipe.sidebar-id.end","time":1398.4000005722046},{"name":"bigPipe.activity-panel-pipe-id.start","time":1398.6000003814697},{"name":"bigPipe.activity-panel-pipe-id.end","time":1412.1000003814697},{"name":"activityTabFullyLoaded","time":1560.2000007629395}],"measures":[],"correlationId":"63fc3fc318cd2c","effectiveType":"4g","downlink":9.5,"rtt":0,"serverDuration":179,"dbReadsTimeInMs":29,"dbConnsTimeInMs":40,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
RQG
===
# git clone https://github.com/mleich1/rqg --branch experimental RQG
#
# GIT_SHOW: HEAD -> experimental, origin/experimental ec83f640bab8f5ea31f07b9bc118d508abae3b35 2022-11-17T15:46:44+01:00
# rqg.pl : Version 4.0.6 (2022-09)
#
# $RQG_HOME/rqg.pl \
# --grammar=conf/mariadb/table_stress_innodb_nocopy1.yy \
# --gendata=conf/mariadb/table_stress.zz \
# --gendata_sql=conf/mariadb/table_stress.sql \
# --reporters=CrashRecovery1 \
# --mysqld=--loose-innodb_lock_schedule_algorithm=fcfs \
# --mysqld=--loose-idle_write_transaction_timeout=0 \
# --mysqld=--loose-idle_transaction_timeout=0 \
# --mysqld=--loose-idle_readonly_transaction_timeout=0 \
# --mysqld=--connect_timeout=60 \
# --mysqld=--interactive_timeout=28800 \
# --mysqld=--slave_net_timeout=60 \
# --mysqld=--net_read_timeout=30 \
# --mysqld=--net_write_timeout=60 \
# --mysqld=--loose-table_lock_wait_timeout=50 \
# --mysqld=--wait_timeout=28800 \
# --mysqld=--lock-wait-timeout=86400 \
# --mysqld=--innodb-lock-wait-timeout=50 \
# --no-mask \
# --queries=10000000 \
# --seed=random \
# --reporters=Backtrace \
# --reporters=ErrorLog \
# --reporters=Deadlock1 \
# --validators=None \
# --mysqld=--log_output=none \
# --mysqld=--log_bin_trust_function_creators=1 \
# --mysqld=--loose-debug_assert_on_not_freed_memory=0 \
# --engine=InnoDB \
# --restart_timeout=240 \
# --mysqld=--plugin-load-add=file_key_management.so \
# --mysqld=--loose-file-key-management-filename=$RQG_HOME/conf/mariadb/encryption_keys.txt \
# --mysqld=--plugin-load-add=provider_lzo.so \
# --mysqld=--plugin-load-add=provider_bzip2.so \
# --mysqld=--plugin-load-add=provider_lzma.so \
# --mysqld=--plugin-load-add=provider_snappy.so \
# --mysqld=--plugin-load-add=provider_lz4.so \
# --duration=300 \
# --mysqld=--loose-innodb_fatal_semaphore_wait_threshold=300 \
# --mysqld=--innodb_file_per_table=1 \
# --mysqld=--loose-innodb_read_only_compressed=OFF \
# --mysqld=--innodb_stats_persistent=off \
# --mysqld=--innodb_adaptive_hash_index=off \
# --mysqld=--log-bin \
# --mysqld=--sync-binlog=1 \
# --mysqld=--loose-innodb_evict_tables_on_commit_debug=on \
# --mysqld=--loose-max-statement-time=30 \
# --threads=33 \
# --mysqld=--innodb-use-native-aio=0 \
# --mysqld=--loose-gdb \
# --mysqld=--loose-debug-gdb \
# --rr=Extended \
# --rr_options=--chaos --wait \
# --mysqld=--innodb_rollback_on_timeout=ON \
# --mysqld=--innodb_page_size=64K \
# --mysqld=--innodb-buffer-pool-size=24M \
# <local settings>
sdp:/data/results/1669039949/TBR-1663
Error pattern
[ 'TBR-1663', 'INFO: Reporter \'CrashRecovery.\': Attempting database recovery using the server.+\[Note\] InnoDB: Starting crash recovery from checkpoint LSN.+\[ERROR\] \[FATAL\] InnoDB: Trying to write .{1,20} bytes at .{1,20} outside the bounds of the file: .{1,250}\.ibd.+RESULT: The RQG run ended with status STATUS_RECOVERY_FAILURE' ],