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":859.0999999046326,"ttfb":205.20000004768372,"pageVisibility":"visible","entityId":117543,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"241eac3b-5f06-44f3-ac54-0e942266cbaf","navigationType":0,"readyForUser":934,"redirectCount":0,"resourceLoadedEnd":908.2000000476837,"resourceLoadedStart":212.59999990463257,"resourceTiming":[{"duration":152.40000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":212.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":212.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":365,"responseStart":0,"secureConnectionStart":0},{"duration":152.29999995231628,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":212.79999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":212.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":365.09999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":164.60000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":212.89999985694885,"connectEnd":212.89999985694885,"connectStart":212.89999985694885,"domainLookupEnd":212.89999985694885,"domainLookupStart":212.89999985694885,"fetchStart":212.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":212.89999985694885,"responseEnd":377.5,"responseStart":377.5,"secureConnectionStart":212.89999985694885},{"duration":219.70000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":213.09999990463257,"connectEnd":213.09999990463257,"connectStart":213.09999990463257,"domainLookupEnd":213.09999990463257,"domainLookupStart":213.09999990463257,"fetchStart":213.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":213.09999990463257,"responseEnd":432.7999999523163,"responseStart":432.7999999523163,"secureConnectionStart":213.09999990463257},{"duration":215.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":213.09999990463257,"connectEnd":213.09999990463257,"connectStart":213.09999990463257,"domainLookupEnd":213.09999990463257,"domainLookupStart":213.09999990463257,"fetchStart":213.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":213.09999990463257,"responseEnd":428.89999985694885,"responseStart":428.89999985694885,"secureConnectionStart":213.09999990463257},{"duration":219.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":213.29999995231628,"connectEnd":213.29999995231628,"connectStart":213.29999995231628,"domainLookupEnd":213.29999995231628,"domainLookupStart":213.29999995231628,"fetchStart":213.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":213.29999995231628,"responseEnd":433.2000000476837,"responseStart":433.2000000476837,"secureConnectionStart":213.29999995231628},{"duration":220.29999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":213.29999995231628,"connectEnd":213.29999995231628,"connectStart":213.29999995231628,"domainLookupEnd":213.29999995231628,"domainLookupStart":213.29999995231628,"fetchStart":213.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":213.29999995231628,"responseEnd":433.59999990463257,"responseStart":433.59999990463257,"secureConnectionStart":213.29999995231628},{"duration":220.89999985694885,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":213.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":213.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":434.39999985694885,"responseStart":0,"secureConnectionStart":0},{"duration":220.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":213.5,"connectEnd":213.5,"connectStart":213.5,"domainLookupEnd":213.5,"domainLookupStart":213.5,"fetchStart":213.5,"redirectEnd":0,"redirectStart":0,"requestStart":213.5,"responseEnd":434,"responseStart":434,"secureConnectionStart":213.5},{"duration":221,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/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":213.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":213.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":434.59999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":220.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/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":213.79999995231628,"connectEnd":213.79999995231628,"connectStart":213.79999995231628,"domainLookupEnd":213.79999995231628,"domainLookupStart":213.79999995231628,"fetchStart":213.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":213.79999995231628,"responseEnd":434.7000000476837,"responseStart":434.7000000476837,"secureConnectionStart":213.79999995231628},{"duration":693.2000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":214.59999990463257,"connectEnd":214.59999990463257,"connectStart":214.59999990463257,"domainLookupEnd":214.59999990463257,"domainLookupStart":214.59999990463257,"fetchStart":214.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":214.59999990463257,"responseEnd":907.7999999523163,"responseStart":907.7999999523163,"secureConnectionStart":214.59999990463257},{"duration":693.6000001430511,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":214.59999990463257,"connectEnd":214.59999990463257,"connectStart":214.59999990463257,"domainLookupEnd":214.59999990463257,"domainLookupStart":214.59999990463257,"fetchStart":214.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":214.59999990463257,"responseEnd":908.2000000476837,"responseStart":908.2000000476837,"secureConnectionStart":214.59999990463257},{"duration":195.80000019073486,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":596.3999998569489,"connectEnd":596.3999998569489,"connectStart":596.3999998569489,"domainLookupEnd":596.3999998569489,"domainLookupStart":596.3999998569489,"fetchStart":596.3999998569489,"redirectEnd":0,"redirectStart":0,"requestStart":596.3999998569489,"responseEnd":792.2000000476837,"responseStart":792.2000000476837,"secureConnectionStart":596.3999998569489},{"duration":198,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":837.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":837.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1035.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":184.89999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/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":853,"connectEnd":853,"connectStart":853,"domainLookupEnd":853,"domainLookupStart":853,"fetchStart":853,"redirectEnd":0,"redirectStart":0,"requestStart":853,"responseEnd":1037.8999998569489,"responseStart":1037.8999998569489,"secureConnectionStart":853}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":27,"responseStart":205,"responseEnd":209,"domLoading":208,"domInteractive":1011,"domContentLoadedEventStart":1011,"domContentLoadedEventEnd":1055,"domComplete":2019,"loadEventStart":2019,"loadEventEnd":2020,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":977.7999999523163},{"name":"bigPipe.sidebar-id.end","time":978.5999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":978.7999999523163},{"name":"bigPipe.activity-panel-pipe-id.end","time":981.3999998569489},{"name":"activityTabFullyLoaded","time":1069.7000000476837}],"measures":[],"correlationId":"a2a80f3c548e9b","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":111,"dbReadsTimeInMs":11,"dbConnsTimeInMs":20,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}