origin/bb-10.11-new-innodb-defaults be6a3d9a01c4357fbb52b4eefcb91bf84a8d0d4c 2022-12-09T13:51:55+02:00
|
Marko assumes that the trouble is linked to MDEV-29986.
|
|
Scenario:
|
1. The server is under concurrent DDL/DML load.
|
2. During 1. is ongoing runs a mariabackup --backup to some other directory.
|
|
Snip of the error log:
|
```# 2022-12-09T03:58:05 [234171] | [rr 332149 3776][00] 2022-12-09 03:58:04 >> log scanned up to (315140211)
|
# 2022-12-09T03:58:05 [234171] | [rr 332149 3801][00] 2022-12-09 03:58:05 >> log scanned up to (315141264)
|
# 2022-12-09T03:58:05 [234171] | [rr 332149 3808]2022-12-09 3:58:05 0 [Warning] InnoDB: 6291456 bytes should have been read at 10485760 from (unknown file), but got only 0. Retrying.
|
# 2022-12-09T03:58:05 [234171] | [rr 332149 3814]2022-12-09 3:58:05 0 [Warning] InnoDB: 6291456 bytes should have been read at 10485760 from (unknown file), but got only 0. Retrying.
|
# 2022-12-09T03:58:05 [234171] | [rr 332149 3820]2022-12-09 3:58:05 0 [Warning] InnoDB: 6291456 bytes should have been read at 10485760 from (unknown file), but got only 0. Retrying.
|
# 2022-12-09T03:58:05 [234171] | [rr 332149 3826]2022-12-09 3:58:05 0 [Warning] InnoDB: 6291456 bytes should have been read at 10485760 from (unknown file), but got only 0. Retrying.
|
# 2022-12-09T03:58:05 [234171] | [rr 332149 3832]2022-12-09 3:58:05 0 [Warning] InnoDB: 6291456 bytes should have been read at 10485760 from (unknown file), but got only 0. Retrying.
|
# 2022-12-09T03:58:05 [234171] | [rr 332149 3838]2022-12-09 3:58:05 0 [Warning] InnoDB: 6291456 bytes should have been read at 10485760 from (unknown file), but got only 0. Retrying.
|
# 2022-12-09T03:58:05 [234171] | [rr 332149 3846]2022-12-09 3:58:05 0 [Warning] InnoDB: 6291456 bytes should have been read at 10485760 from (unknown file), but got only 0. Retrying.
|
# 2022-12-09T03:58:05 [234171] | [rr 332149 3856]2022-12-09 3:58:05 0 [Warning] InnoDB: 6291456 bytes should have been read at 10485760 from (unknown file), but got only 0. Retrying.
|
# 2022-12-09T03:58:05 [234171] | [rr 332149 3864][00] 2022-12-09 03:58:05 >> log scanned up to (315165453)
|
# 2022-12-09T03:58:05 [234171] | [rr 332149 3871]2022-12-09 3:58:05 0 [Warning] InnoDB: 6291456 bytes should have been read at 10485760 from (unknown file), but got only 0. Retrying.
|
# 2022-12-09T03:58:05 [234171] | [rr 332149 3877]2022-12-09 3:58:05 0 [Warning] InnoDB: 6291456 bytes should have been read at 10485760 from (unknown file), but got only 0. Retrying.
|
# 2022-12-09T03:58:05 [234171] | [rr 332149 3881]2022-12-09 3:58:05 0 [Warning] InnoDB: Retry attempts for reading partial data failed.
|
# 2022-12-09T03:58:05 [234171] | [rr 332149 3890][01] 2022-12-09 03:58:05 mariabackup: xtrabackup_copy_datafile() failed.
|
# 2022-12-09T03:58:05 [234171] | [rr 332149 3898][00] FATAL ERROR: 2022-12-09 03:58:05 failed to copy datafile.```
|
Hitting this bug is very rare.
RQG:
===
- git clone https://github.com/mleich1/rqg --branch <pick the right branch> RQG
#
- GIT_SHOW: HEAD -> master, origin/master, origin/HEAD 1abbb033ff1d798d9d0a9bacdf072fe8fd4f5deb 2022-12-09T12:56:59+01:00
- rqg.pl : Version 4.2.1 (2022-12)
#
- $RQG_HOME/rqg.pl \
- --grammar=conf/engines/many_indexes.yy \
- --gendata=conf/engines/many_indexes.zz \
- --reporters=Mariabackup_linux \
- --redefine=conf/mariadb/redefine_file_buffering_write_through.yy \
- -
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=Deadlock \
- --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=0 \
- -
mysqld=-loose-innodb_read_only_compressed=OFF \
- -
mysqld=-innodb_stats_persistent=on \
- -
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=1 \
- -
mysqld=-loose_innodb_change_buffering=changes \
- -
mysqld=-innodb_rollback_on_timeout=OFF \
- -
mysqld=-innodb_page_size=16K \
- -
mysqld=-innodb-buffer-pool-size=8M \
- --vardir_type=slow \
- <local settings>
sdp:/data/results/1670586562/Backup$ _RR_TRACE_DIR=./1_clone/rr rr replay --mark-stdio
- relates to
-
MDEV-29986
Set innodb_undo_tablespaces=3 by default
-
-
Closed
{"report":{"fcp":1107,"ttfb":268.1000003814697,"pageVisibility":"visible","entityId":117543,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"8f2f0a63-f2f5-482e-a60f-6a45617b7fb3","navigationType":0,"readyForUser":1205.5,"redirectCount":0,"resourceLoadedEnd":1342.6999998092651,"resourceLoadedStart":277.1000003814697,"resourceTiming":[{"duration":413.79999923706055,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":277.1000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":277.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":690.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":413.6000003814697,"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":277.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":277.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":691.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":422,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":277.69999980926514,"connectEnd":277.69999980926514,"connectStart":277.69999980926514,"domainLookupEnd":277.69999980926514,"domainLookupStart":277.69999980926514,"fetchStart":277.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":277.69999980926514,"responseEnd":699.6999998092651,"responseStart":699.6999998092651,"secureConnectionStart":277.69999980926514},{"duration":447.6000003814697,"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":278.3999996185303,"connectEnd":278.3999996185303,"connectStart":278.3999996185303,"domainLookupEnd":278.3999996185303,"domainLookupStart":278.3999996185303,"fetchStart":278.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":278.3999996185303,"responseEnd":726,"responseStart":725.8999996185303,"secureConnectionStart":278.3999996185303},{"duration":451.0999994277954,"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":278.6000003814697,"connectEnd":278.6000003814697,"connectStart":278.6000003814697,"domainLookupEnd":278.6000003814697,"domainLookupStart":278.6000003814697,"fetchStart":278.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":278.6000003814697,"responseEnd":729.6999998092651,"responseStart":729.6999998092651,"secureConnectionStart":278.6000003814697},{"duration":451.4000005722046,"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":278.69999980926514,"connectEnd":278.69999980926514,"connectStart":278.69999980926514,"domainLookupEnd":278.69999980926514,"domainLookupStart":278.69999980926514,"fetchStart":278.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":278.69999980926514,"responseEnd":730.1000003814697,"responseStart":730.1000003814697,"secureConnectionStart":278.69999980926514},{"duration":451.6000003814697,"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":278.8999996185303,"connectEnd":278.8999996185303,"connectStart":278.8999996185303,"domainLookupEnd":278.8999996185303,"domainLookupStart":278.8999996185303,"fetchStart":278.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":278.8999996185303,"responseEnd":730.5,"responseStart":730.5,"secureConnectionStart":278.8999996185303},{"duration":452.79999923706055,"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":279.1000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":279.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":731.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":451.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":279.19999980926514,"connectEnd":279.19999980926514,"connectStart":279.19999980926514,"domainLookupEnd":279.19999980926514,"domainLookupStart":279.19999980926514,"fetchStart":279.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":279.19999980926514,"responseEnd":731,"responseStart":731,"secureConnectionStart":279.19999980926514},{"duration":452.70000076293945,"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":279.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":279.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":732.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":452,"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":279.5,"connectEnd":279.5,"connectStart":279.5,"domainLookupEnd":279.5,"domainLookupStart":279.5,"fetchStart":279.5,"redirectEnd":0,"redirectStart":0,"requestStart":279.5,"responseEnd":731.5,"responseStart":731.5,"secureConnectionStart":279.5},{"duration":1058.3999996185303,"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":283.80000019073486,"connectEnd":283.80000019073486,"connectStart":283.80000019073486,"domainLookupEnd":283.80000019073486,"domainLookupStart":283.80000019073486,"fetchStart":283.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":283.80000019073486,"responseEnd":1342.1999998092651,"responseStart":1342.1999998092651,"secureConnectionStart":283.80000019073486},{"duration":1058.8000001907349,"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":283.8999996185303,"connectEnd":283.8999996185303,"connectStart":283.8999996185303,"domainLookupEnd":283.8999996185303,"domainLookupStart":283.8999996185303,"fetchStart":283.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":283.8999996185303,"responseEnd":1342.6999998092651,"responseStart":1342.6999998092651,"secureConnectionStart":283.8999996185303},{"duration":417,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":917.1999998092651,"connectEnd":917.1999998092651,"connectStart":917.1999998092651,"domainLookupEnd":917.1999998092651,"domainLookupStart":917.1999998092651,"fetchStart":917.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":917.1999998092651,"responseEnd":1334.1999998092651,"responseStart":1334.1999998092651,"secureConnectionStart":917.1999998092651}],"fetchStart":1,"domainLookupStart":1,"domainLookupEnd":1,"connectStart":1,"connectEnd":1,"requestStart":64,"responseStart":269,"responseEnd":284,"domLoading":273,"domInteractive":1359,"domContentLoadedEventStart":1359,"domContentLoadedEventEnd":1397,"domComplete":3300,"loadEventStart":3300,"loadEventEnd":3302,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1345.6999998092651},{"name":"bigPipe.sidebar-id.end","time":1346.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":1346.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.end","time":1349},{"name":"activityTabFullyLoaded","time":1403.6000003814697}],"measures":[],"correlationId":"2164c73178c1b2","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":133,"dbReadsTimeInMs":15,"dbConnsTimeInMs":30,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}