I'm currently affected by this bug as it seems. Running 10.6.8. After a system restart, my local MariaDB instance will not start up with the aforementioned error. Will this fix only prevent the error from happening in the future or will it also fix a broken recovery log? Do I need to rebuild my whole database?
Jörn Wagner
added a comment - - edited Hi,
I'm currently affected by this bug as it seems. Running 10.6.8. After a system restart, my local MariaDB instance will not start up with the aforementioned error. Will this fix only prevent the error from happening in the future or will it also fix a broken recovery log? Do I need to rebuild my whole database?
The recently released MariaDB Server 10.6.9 includes a number of recovery fixes, such as MDEV-28923. The bug that we reproduced internally occurred due to a race condition in the write side, and it cannot be easily worked around in recovery. If 10.6.9 cannot start up with that data directory, one thing that could still be done to work around this bug would be to remove the latest log checkpoint from the redo log file (to let the server recover from the previous log checkpoint).
Marko Mäkelä
added a comment - The recently released MariaDB Server 10.6.9 includes a number of recovery fixes, such as MDEV-28923 . The bug that we reproduced internally occurred due to a race condition in the write side, and it cannot be easily worked around in recovery. If 10.6.9 cannot start up with that data directory, one thing that could still be done to work around this bug would be to remove the latest log checkpoint from the redo log file (to let the server recover from the previous log checkpoint).
Jörn Wagner
added a comment - Unfortunately, I do not see MariaDB 10.6.9 available for download. https://jira.mariadb.org/projects/MDEV/versions/27507 says it's unreleased but all issues are done. https://mariadb.com/kb/en/mariadb-1069-changelog/ also states "There are currently no official packages or binaries available for download which contain the features". Where can we find or when can we expect binaries for that version?
One more reason for these symptoms could be that multiple instances of InnoDB were running on the same data files. This would be a regression due to implementing MDEV-24393. This regression was fixed in MDEV-28495 and MDEV-31568, by ensuring that an advisory lock on the InnoDB system tablespace will always be held.
Marko Mäkelä
added a comment - One more reason for these symptoms could be that multiple instances of InnoDB were running on the same data files. This would be a regression due to implementing MDEV-24393 . This regression was fixed in MDEV-28495 and MDEV-31568 , by ensuring that an advisory lock on the InnoDB system tablespace will always be held.
People
Marko Mäkelä
Matthias Leich
Votes:
0Vote for this issue
Watchers:
7Start 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":818.2000000476837,"ttfb":234.10000002384186,"pageVisibility":"visible","entityId":111970,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"bab45104-80b4-41cc-8b84-529a64a60224","navigationType":0,"readyForUser":917,"redirectCount":0,"resourceLoadedEnd":933.5,"resourceLoadedStart":240.30000007152557,"resourceTiming":[{"duration":11,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":240.30000007152557,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":240.30000007152557,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":251.30000007152557,"responseStart":0,"secureConnectionStart":0},{"duration":11,"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":240.60000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":240.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":251.60000002384186,"responseStart":0,"secureConnectionStart":0},{"duration":80.60000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":240.70000004768372,"connectEnd":240.70000004768372,"connectStart":240.70000004768372,"domainLookupEnd":240.70000004768372,"domainLookupStart":240.70000004768372,"fetchStart":240.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":240.70000004768372,"responseEnd":321.3000000715256,"responseStart":321.3000000715256,"secureConnectionStart":240.70000004768372},{"duration":151.29999995231628,"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":240.90000009536743,"connectEnd":240.90000009536743,"connectStart":240.90000009536743,"domainLookupEnd":240.90000009536743,"domainLookupStart":240.90000009536743,"fetchStart":240.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":240.90000009536743,"responseEnd":392.2000000476837,"responseStart":392.2000000476837,"secureConnectionStart":240.90000009536743},{"duration":154,"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":241.20000004768372,"connectEnd":241.20000004768372,"connectStart":241.20000004768372,"domainLookupEnd":241.20000004768372,"domainLookupStart":241.20000004768372,"fetchStart":241.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":241.20000004768372,"responseEnd":395.2000000476837,"responseStart":395.2000000476837,"secureConnectionStart":241.20000004768372},{"duration":155,"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":241.30000007152557,"connectEnd":241.30000007152557,"connectStart":241.30000007152557,"domainLookupEnd":241.30000007152557,"domainLookupStart":241.30000007152557,"fetchStart":241.30000007152557,"redirectEnd":0,"redirectStart":0,"requestStart":241.30000007152557,"responseEnd":396.3000000715256,"responseStart":396.3000000715256,"secureConnectionStart":241.30000007152557},{"duration":155.20000004768372,"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":241.5,"connectEnd":241.5,"connectStart":241.5,"domainLookupEnd":241.5,"domainLookupStart":241.5,"fetchStart":241.5,"redirectEnd":0,"redirectStart":0,"requestStart":241.5,"responseEnd":396.7000000476837,"responseStart":396.7000000476837,"secureConnectionStart":241.5},{"duration":219.70000004768372,"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":241.70000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":241.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":461.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":155.39999997615814,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":241.80000007152557,"connectEnd":241.80000007152557,"connectStart":241.80000007152557,"domainLookupEnd":241.80000007152557,"domainLookupStart":241.80000007152557,"fetchStart":241.80000007152557,"redirectEnd":0,"redirectStart":0,"requestStart":241.80000007152557,"responseEnd":397.2000000476837,"responseStart":397.2000000476837,"secureConnectionStart":241.80000007152557},{"duration":219.5,"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":242,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":242,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":461.5,"responseStart":0,"secureConnectionStart":0},{"duration":155.70000004768372,"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":242.20000004768372,"connectEnd":242.20000004768372,"connectStart":242.20000004768372,"domainLookupEnd":242.20000004768372,"domainLookupStart":242.20000004768372,"fetchStart":242.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":242.20000004768372,"responseEnd":397.90000009536743,"responseStart":397.90000009536743,"secureConnectionStart":242.20000004768372},{"duration":409.60000002384186,"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":243.30000007152557,"connectEnd":243.30000007152557,"connectStart":243.30000007152557,"domainLookupEnd":243.30000007152557,"domainLookupStart":243.30000007152557,"fetchStart":243.30000007152557,"redirectEnd":0,"redirectStart":0,"requestStart":243.30000007152557,"responseEnd":652.9000000953674,"responseStart":652.9000000953674,"secureConnectionStart":243.30000007152557},{"duration":478.5,"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":247.60000002384186,"connectEnd":247.60000002384186,"connectStart":247.60000002384186,"domainLookupEnd":247.60000002384186,"domainLookupStart":247.60000002384186,"fetchStart":247.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":247.60000002384186,"responseEnd":726.1000000238419,"responseStart":726.1000000238419,"secureConnectionStart":247.60000002384186},{"duration":181.29999995231628,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":471.90000009536743,"connectEnd":471.90000009536743,"connectStart":471.90000009536743,"domainLookupEnd":471.90000009536743,"domainLookupStart":471.90000009536743,"fetchStart":471.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":471.90000009536743,"responseEnd":653.2000000476837,"responseStart":653.2000000476837,"secureConnectionStart":471.90000009536743},{"duration":17.700000047683716,"initiatorType":"link","name":"https://jira.mariadb.org/s/50bc9be5bfead1a25e72c1a9338c94f6-CDN/lu2bu7/820016/12ta74/e108c7645258ccb43280ed3404e3e949/_/download/contextbatch/css/com.atlassian.jira.plugins.jira-development-integration-plugin:0,-_super,-jira.view.issue,-jira.global,-jira.general,-jira.browse.project,-project.issue.navigator,-atl.general/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":724,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":724,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":741.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":17.40000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bu7/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":724.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":724.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":741.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":202.89999997615814,"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":725.4000000953674,"connectEnd":725.4000000953674,"connectStart":725.4000000953674,"domainLookupEnd":725.4000000953674,"domainLookupStart":725.4000000953674,"fetchStart":725.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":725.4000000953674,"responseEnd":928.3000000715256,"responseStart":928.3000000715256,"secureConnectionStart":725.4000000953674},{"duration":204.10000002384186,"initiatorType":"script","name":"https://jira.mariadb.org/s/86ee9bbc76cd1bcd8556fcdcf46241c9-CDN/lu2bu7/820016/12ta74/e108c7645258ccb43280ed3404e3e949/_/download/contextbatch/js/com.atlassian.jira.plugins.jira-development-integration-plugin:0,-_super,-jira.view.issue,-jira.global,-jira.general,-jira.browse.project,-project.issue.navigator,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":725.7000000476837,"connectEnd":725.7000000476837,"connectStart":725.7000000476837,"domainLookupEnd":725.7000000476837,"domainLookupStart":725.7000000476837,"fetchStart":725.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":725.7000000476837,"responseEnd":929.8000000715256,"responseStart":929.8000000715256,"secureConnectionStart":725.7000000476837},{"duration":207.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/f51ef5507eea4c158f257c66c93b2a3f-CDN/lu2bu7/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":726,"connectEnd":726,"connectStart":726,"domainLookupEnd":726,"domainLookupStart":726,"fetchStart":726,"redirectEnd":0,"redirectStart":0,"requestStart":726,"responseEnd":933.5,"responseStart":933.5,"secureConnectionStart":726},{"duration":153.20000004768372,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":811.6000000238419,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":811.6000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":964.8000000715256,"responseStart":0,"secureConnectionStart":0},{"duration":158.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":833,"connectEnd":833,"connectStart":833,"domainLookupEnd":833,"domainLookupStart":833,"fetchStart":833,"redirectEnd":0,"redirectStart":0,"requestStart":833,"responseEnd":991.5,"responseStart":991.5,"secureConnectionStart":833}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":38,"responseStart":234,"responseEnd":240,"domLoading":237,"domInteractive":1007,"domContentLoadedEventStart":1007,"domContentLoadedEventEnd":1059,"domComplete":1236,"loadEventStart":1236,"loadEventEnd":1236,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":966.9000000953674},{"name":"bigPipe.sidebar-id.end","time":967.7000000476837},{"name":"bigPipe.activity-panel-pipe-id.start","time":967.8000000715256},{"name":"bigPipe.activity-panel-pipe-id.end","time":969.3000000715256},{"name":"activityTabFullyLoaded","time":1082}],"measures":[],"correlationId":"30b755ee0b241e","effectiveType":"4g","downlink":9.8,"rtt":0,"serverDuration":120,"dbReadsTimeInMs":22,"dbConnsTimeInMs":31,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Hi,
I'm currently affected by this bug as it seems. Running 10.6.8. After a system restart, my local MariaDB instance will not start up with the aforementioned error. Will this fix only prevent the error from happening in the future or will it also fix a broken recovery log? Do I need to rebuild my whole database?