Related to MDEV-29905 it has been discussed that the error message for change buffer merge errors, like
2022-10-24 23:58:25 0 [ERROR] InnoDB: The age of the last checkpoint is 991661268, which exceeds the log capacity 966365799.
should be changed to avoid that the user is killing the shutdown process because of this error message and a long running shutdown.
The error message should be changed to
2022-10-24 23:58:25 0 [ERROR] InnoDB: The age of the last checkpoint is 991661268, which exceeds the log capacity 966365799. Shutdown is still in progress.
We also should add a second message
[Note] InnoDB: Corruption fixed by log checkpoint at LSN=xxxxx
as "end of fatal condition" message
Attachments
Issue Links
relates to
MDEV-27784log_overwrite_warning displays an error instead of a warning
Closed
MDEV-29905Change buffer operations fail to check for log file overflow
[ERROR] InnoDB: Crash recovery is broken due to insufficient innodb_log_file_size; last checkpoint LSN=WWW, current LSN=YYY. Shutdown is in progress.
[Note] InnoDB: InnoDB: Crash recovery was broken between LSN=XXX and checkpoint LSN=ZZZ.
For the log sequence numbers, WWW<XXX<YYY<ZZZ should hold. The phrase "Shutdown is in progress." will only be output if shutdown has actually been initiated.
I must come up with some debug instrumentation so that these messages can be exercised in our regression test suite.
Marko Mäkelä
added a comment - I am going to implement messages like this:
[ERROR] InnoDB: Crash recovery is broken due to insufficient innodb_log_file_size; last checkpoint LSN=WWW, current LSN=YYY. Shutdown is in progress.
[Note] InnoDB: InnoDB: Crash recovery was broken between LSN=XXX and checkpoint LSN=ZZZ.
For the log sequence numbers, WWW<XXX<YYY<ZZZ should hold. The phrase "Shutdown is in progress." will only be output if shutdown has actually been initiated.
I must come up with some debug instrumentation so that these messages can be exercised in our regression test suite.
People
Marko Mäkelä
Ralf Gebhardt
Votes:
0Vote for this issue
Watchers:
4Start 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":851.1000000238419,"ttfb":200.4000000357628,"pageVisibility":"visible","entityId":116603,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"df169704-4e71-438a-91d9-4c4ff3ebb1a1","navigationType":0,"readyForUser":919,"redirectCount":0,"resourceLoadedEnd":1021.9000000357628,"resourceLoadedStart":205.80000001192093,"resourceTiming":[{"duration":81,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":205.80000001192093,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":205.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":286.80000001192093,"responseStart":0,"secureConnectionStart":0},{"duration":83,"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":206.10000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":206.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":289.10000002384186,"responseStart":0,"secureConnectionStart":0},{"duration":143.39999997615814,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":206.20000004768372,"connectEnd":206.20000004768372,"connectStart":206.20000004768372,"domainLookupEnd":206.20000004768372,"domainLookupStart":206.20000004768372,"fetchStart":206.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":206.20000004768372,"responseEnd":349.60000002384186,"responseStart":349.60000002384186,"secureConnectionStart":206.20000004768372},{"duration":198,"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":206.4000000357628,"connectEnd":206.4000000357628,"connectStart":206.4000000357628,"domainLookupEnd":206.4000000357628,"domainLookupStart":206.4000000357628,"fetchStart":206.4000000357628,"redirectEnd":0,"redirectStart":0,"requestStart":206.4000000357628,"responseEnd":404.4000000357628,"responseStart":404.4000000357628,"secureConnectionStart":206.4000000357628},{"duration":201.30000001192093,"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":206.60000002384186,"connectEnd":206.60000002384186,"connectStart":206.60000002384186,"domainLookupEnd":206.60000002384186,"domainLookupStart":206.60000002384186,"fetchStart":206.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":206.60000002384186,"responseEnd":407.9000000357628,"responseStart":407.9000000357628,"secureConnectionStart":206.60000002384186},{"duration":201.79999995231628,"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":206.70000004768372,"connectEnd":206.70000004768372,"connectStart":206.70000004768372,"domainLookupEnd":206.70000004768372,"domainLookupStart":206.70000004768372,"fetchStart":206.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":206.70000004768372,"responseEnd":408.5,"responseStart":408.5,"secureConnectionStart":206.70000004768372},{"duration":201.9000000357628,"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":207,"connectEnd":207,"connectStart":207,"domainLookupEnd":207,"domainLookupStart":207,"fetchStart":207,"redirectEnd":0,"redirectStart":0,"requestStart":207,"responseEnd":408.9000000357628,"responseStart":408.9000000357628,"secureConnectionStart":207},{"duration":283.39999997615814,"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":207.10000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":207.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":490.5,"responseStart":0,"secureConnectionStart":0},{"duration":202.19999998807907,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":207.20000004768372,"connectEnd":207.20000004768372,"connectStart":207.20000004768372,"domainLookupEnd":207.20000004768372,"domainLookupStart":207.20000004768372,"fetchStart":207.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":207.20000004768372,"responseEnd":409.4000000357628,"responseStart":409.4000000357628,"secureConnectionStart":207.20000004768372},{"duration":283.30000001192093,"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":207.4000000357628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":207.4000000357628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":490.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":203.4000000357628,"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":207.5,"connectEnd":207.5,"connectStart":207.5,"domainLookupEnd":207.5,"domainLookupStart":207.5,"fetchStart":207.5,"redirectEnd":0,"redirectStart":0,"requestStart":207.5,"responseEnd":410.9000000357628,"responseStart":410.9000000357628,"secureConnectionStart":207.5},{"duration":384.5999999642372,"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":212.9000000357628,"connectEnd":212.9000000357628,"connectStart":212.9000000357628,"domainLookupEnd":212.9000000357628,"domainLookupStart":212.9000000357628,"fetchStart":212.9000000357628,"redirectEnd":0,"redirectStart":0,"requestStart":212.9000000357628,"responseEnd":597.5,"responseStart":597.4000000357628,"secureConnectionStart":212.9000000357628},{"duration":807.4000000357628,"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":213.30000001192093,"connectEnd":213.30000001192093,"connectStart":213.30000001192093,"domainLookupEnd":213.30000001192093,"domainLookupStart":213.30000001192093,"fetchStart":213.30000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":213.30000001192093,"responseEnd":1020.7000000476837,"responseStart":1020.7000000476837,"secureConnectionStart":213.30000001192093},{"duration":97.80000001192093,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":501.5,"connectEnd":501.5,"connectStart":501.5,"domainLookupEnd":501.5,"domainLookupStart":501.5,"fetchStart":501.5,"redirectEnd":0,"redirectStart":0,"requestStart":501.5,"responseEnd":599.3000000119209,"responseStart":599.3000000119209,"secureConnectionStart":501.5},{"duration":252.89999997615814,"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":768.9000000357628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":768.9000000357628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1021.8000000119209,"responseStart":0,"secureConnectionStart":0},{"duration":252.60000002384186,"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":769.3000000119209,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":769.3000000119209,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1021.9000000357628,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":35,"responseStart":200,"responseEnd":211,"domLoading":204,"domInteractive":1043,"domContentLoadedEventStart":1043,"domContentLoadedEventEnd":1083,"domComplete":1311,"loadEventStart":1311,"loadEventEnd":1311,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1024.7000000476837},{"name":"bigPipe.sidebar-id.end","time":1025.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":1025.6000000238419},{"name":"bigPipe.activity-panel-pipe-id.end","time":1026.7000000476837},{"name":"activityTabFullyLoaded","time":1096.2000000476837}],"measures":[],"correlationId":"c0f3f63f2e5ac6","effectiveType":"4g","downlink":9.7,"rtt":0,"serverDuration":104,"dbReadsTimeInMs":17,"dbConnsTimeInMs":26,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
I'll be obliged if you'd review my PR, hope it's not much mistaken...
https://github.com/MariaDB/server/pull/2328