There seems to be a race condition in the test mariabackup.log_page_corruption that was exposed by MDEV-26193. After that change, purge threads are no longer woken up on every transaction commit, but only about once per second.
The test would now fail like this:
10.6 a4dc9265792919eb1ad156780e1a93dc4c7c6ce8
|
mariabackup.log_page_corruption [ fail ]
|
Test ended at 2021-07-22 10:55:46
|
|
CURRENT_TEST: mariabackup.log_page_corruption
|
Use of uninitialized value $n_pages in addition (+) at /mariadb/10.6/mysql-test/suite/mariabackup/include/corrupt-page.pl line 48.
|
Use of uninitialized value $n_pages in multiplication (*) at /mariadb/10.6/mysql-test/suite/mariabackup/include/corrupt-page.pl line 65.
|
Use of uninitialized value $n_pages in addition (+) at /mariadb/10.6/mysql-test/suite/mariabackup/include/corrupt-page.pl line 48.
|
Use of uninitialized value $n_pages in multiplication (*) at /mariadb/10.6/mysql-test/suite/mariabackup/include/corrupt-page.pl line 65.
|
Corrupted page 6
|
was not copied to /dev/shm/10.6/mysql-test/var/tmp/backup_inc/test/t1_corrupted.ibd.delta. at /dev/shm/10.6/mysql-test/var/tmpMh3Gyv line 41, <$fh> line 1.
|
mysqltest: At line 181: command "perl" failed with error: 255 my_errno: 175 errno: 175
|
|
The result from queries just before the failure was:
|
< snip >
|
# Backup must not fail, but "innodb_corrupted_pages" file must be created due to --log-innodb-page-corruption option
|
--- "innodb_corrupted_pages" file content: ---
|
test/t1_corrupted
|
6 8 9
|
test/t1_inc_corrupted
|
6 8 9
|
test/t2_corrupted
|
7 8 10
|
test/t2_inc_corrupted
|
7 8 10
|
test/t4_inc_corrupted_new
|
1
|
test/t5_corrupted_to_rename_renamed
|
6
|
test/t5_inc_corrupted_to_rename_renamed
|
6
|
test/t7_inc_corrupted_to_alter
|
3
|
------
|
# Check if corrupted pages were copied to delta files, and non-corrupted pages are not copied.
|
|
More results from queries before failure can be found in /dev/shm/10.6/mysql-test/var/log/log_page_corruption.log
|
Note that there is no guarantee that any purge tasks will actually run; that could depend on the load on the operating system and CPU. I believe that similar failures should be possible even before MDEV-26193 was implemented.
- relates to
-
MDEV-26193
Skip check to invoke purge if the transaction is read-only
-
-
Closed
{"report":{"fcp":1925.4000000953674,"ttfb":706.0999999046326,"pageVisibility":"visible","entityId":101436,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":32,"apdex":0.5,"journeyId":"be8a3a3b-c025-4bac-a70d-dc2fe6d7c50c","navigationType":0,"readyForUser":2003.3000001907349,"redirectCount":0,"resourceLoadedEnd":3003.5999999046326,"resourceLoadedStart":711.4000000953674,"resourceTiming":[{"duration":717.4000000953674,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":711.4000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":711.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1428.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":717.2999997138977,"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":711.7000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":711.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1429,"responseStart":0,"secureConnectionStart":0},{"duration":766.1999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":711.9000000953674,"connectEnd":711.9000000953674,"connectStart":711.9000000953674,"domainLookupEnd":711.9000000953674,"domainLookupStart":711.9000000953674,"fetchStart":711.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":711.9000000953674,"responseEnd":1478.0999999046326,"responseStart":1478,"secureConnectionStart":711.9000000953674},{"duration":812.4000000953674,"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":712.0999999046326,"connectEnd":712.0999999046326,"connectStart":712.0999999046326,"domainLookupEnd":712.0999999046326,"domainLookupStart":712.0999999046326,"fetchStart":712.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":712.0999999046326,"responseEnd":1524.5,"responseStart":1524.5,"secureConnectionStart":712.0999999046326},{"duration":816.3999996185303,"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":712.2000002861023,"connectEnd":712.2000002861023,"connectStart":712.2000002861023,"domainLookupEnd":712.2000002861023,"domainLookupStart":712.2000002861023,"fetchStart":712.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":712.2000002861023,"responseEnd":1528.5999999046326,"responseStart":1528.5999999046326,"secureConnectionStart":712.2000002861023},{"duration":816.5999999046326,"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":712.4000000953674,"connectEnd":712.4000000953674,"connectStart":712.4000000953674,"domainLookupEnd":712.4000000953674,"domainLookupStart":712.4000000953674,"fetchStart":712.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":712.4000000953674,"responseEnd":1529,"responseStart":1529,"secureConnectionStart":712.4000000953674},{"duration":816.6999998092651,"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":712.7000002861023,"connectEnd":712.7000002861023,"connectStart":712.7000002861023,"domainLookupEnd":712.7000002861023,"domainLookupStart":712.7000002861023,"fetchStart":712.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":712.7000002861023,"responseEnd":1529.4000000953674,"responseStart":1529.4000000953674,"secureConnectionStart":712.7000002861023},{"duration":904.9000000953674,"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":712.8000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":712.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1617.7000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":816.9000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":713,"connectEnd":713,"connectStart":713,"domainLookupEnd":713,"domainLookupStart":713,"fetchStart":713,"redirectEnd":0,"redirectStart":0,"requestStart":713,"responseEnd":1529.9000000953674,"responseStart":1529.9000000953674,"secureConnectionStart":713},{"duration":904.8000001907349,"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":713.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":713.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1617.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":817.0999999046326,"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":713.3000001907349,"connectEnd":713.3000001907349,"connectStart":713.3000001907349,"domainLookupEnd":713.3000001907349,"domainLookupStart":713.3000001907349,"fetchStart":713.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":713.3000001907349,"responseEnd":1530.4000000953674,"responseStart":1530.4000000953674,"secureConnectionStart":713.3000001907349},{"duration":1903.2000002861023,"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":714.0999999046326,"connectEnd":714.0999999046326,"connectStart":714.0999999046326,"domainLookupEnd":714.0999999046326,"domainLookupStart":714.0999999046326,"fetchStart":714.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":714.0999999046326,"responseEnd":2617.300000190735,"responseStart":2617.300000190735,"secureConnectionStart":714.0999999046326},{"duration":2285,"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":718.5999999046326,"connectEnd":718.5999999046326,"connectStart":718.5999999046326,"domainLookupEnd":718.5999999046326,"domainLookupStart":718.5999999046326,"fetchStart":718.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":718.5999999046326,"responseEnd":3003.5999999046326,"responseStart":3003.5999999046326,"secureConnectionStart":718.5999999046326},{"duration":988.6000003814697,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1629.0999999046326,"connectEnd":1629.0999999046326,"connectStart":1629.0999999046326,"domainLookupEnd":1629.0999999046326,"domainLookupStart":1629.0999999046326,"fetchStart":1629.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":1629.0999999046326,"responseEnd":2617.7000002861023,"responseStart":2617.7000002861023,"secureConnectionStart":1629.0999999046326},{"duration":1143.8000001907349,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1919.4000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1919.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":3063.2000002861023,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":551,"responseStart":706,"responseEnd":711,"domLoading":709,"domInteractive":3021,"domContentLoadedEventStart":3021,"domContentLoadedEventEnd":3060,"domComplete":3723,"loadEventStart":3723,"loadEventEnd":3723,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":3007.5},{"name":"bigPipe.sidebar-id.end","time":3008.300000190735},{"name":"bigPipe.activity-panel-pipe-id.start","time":3008.300000190735},{"name":"bigPipe.activity-panel-pipe-id.end","time":3009.0999999046326},{"name":"activityTabFullyLoaded","time":3072.300000190735}],"measures":[],"correlationId":"b5f04559b01a1c","effectiveType":"4g","downlink":9.4,"rtt":0,"serverDuration":92,"dbReadsTimeInMs":11,"dbConnsTimeInMs":20,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
It shows quite frequently last time in 10.5 and bb-10.5-release