Type:
Bug
Priority:
Minor
Resolution:
Fixed
Affects Version/s:
10.2(EOL) , 10.3(EOL) , 10.4(EOL) , 10.5 , 10.6
An incorrect attempt to start up MariaDB Server 10.2 or later with the dataset that is attached to MDEV-15464 would crash as follows:
mysqld --innodb-page-size=8k --datadir …/data
10.2 773a07b65517327add6348c045cee14bdf489fe0
2021-06-22 8:53:22 139829666023360 [ERROR] InnoDB: Obtaining redo log encryption key version 1 failed (4294967295). Maybe the key or the required encryption key management plugin was not found.
2021-06-22 8:53:22 139829666023360 [ERROR] InnoDB: Decrypting checkpoint failed
210622 8:53:22 [ERROR] mysqld got signal 11 ;
We would expect something like this instead:
2021-06-22 8:57:32 140541877659584 [ERROR] InnoDB: Obtaining redo log encryption key version 1 failed (4294967295). Maybe the key or the required encryption key management plugin was not found.
2021-06-22 8:57:32 140541877659584 [ERROR] InnoDB: Decrypting checkpoint failed
2021-06-22 8:57:32 140541877659584 [ERROR] InnoDB: Upgrade after a crash is not supported. This redo log was created before MariaDB 10.2.2, and it appears corrupted. Please follow the instructions at https://mariadb.com/kb/en/library/upgrading/
2021-06-22 8:57:32 140541877659584 [ERROR] InnoDB: Plugin initialization aborted at srv0start.cc[2209] with error Data structure corruption
2021-06-22 8:57:32 140541877659584 [Note] InnoDB: Starting shutdown...
2021-06-22 8:57:33 140541877659584 [ERROR] Plugin 'InnoDB' init function returned error.
2021-06-22 8:57:33 140541877659584 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2021-06-22 8:57:33 140541877659584 [Note] Plugin 'FEEDBACK' is disabled.
2021-06-22 8:57:33 140541877659584 [ERROR] Unknown/unsupported storage engine: InnoDB
2021-06-22 8:57:33 140541877659584 [ERROR] Aborting
Of course, if the encryption parameters were correctly specified, we would start up, like this:
2021-06-22 9:01:10 140716996093888 [Note] InnoDB: Highest supported file format is Barracuda.
2021-06-22 9:01:10 140716996093888 [Note] InnoDB: Upgrading redo log: 2*4294967296 bytes; LSN=21679480
2021-06-22 9:01:10 140716996093888 [Note] InnoDB: Starting to delete and rewrite log files.
2021-06-22 9:01:10 140716996093888 [Note] InnoDB: Setting log file ./ib_logfile101 size to 4294967296 bytes
2021-06-22 9:01:12 140716996093888 [Note] InnoDB: Setting log file ./ib_logfile1 size to 4294967296 bytes
2021-06-22 9:01:14 140716996093888 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
2021-06-22 9:01:14 140716996093888 [Note] InnoDB: New log files created, LSN=21679480
duplicates
MDEV-25983
Upgrade of MariaDB 10.1 log crashes when encryption key is missing
Closed
There are no comments yet on this issue.
{"report":{"fcp":1321.2000000029802,"ttfb":306,"pageVisibility":"visible","entityId":100692,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"c5c13a7f-d2f5-4127-acec-28bc59d1e708","navigationType":0,"readyForUser":1394.7000000029802,"redirectCount":0,"resourceLoadedEnd":1460.2000000029802,"resourceLoadedStart":311.1000000089407,"resourceTiming":[{"duration":492.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":311.1000000089407,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":311.1000000089407,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":803.6000000089407,"responseStart":0,"secureConnectionStart":0},{"duration":492.70000000298023,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":311.40000000596046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":311.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":804.1000000089407,"responseStart":0,"secureConnectionStart":0},{"duration":549.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":311.5,"connectEnd":311.5,"connectStart":311.5,"domainLookupEnd":311.5,"domainLookupStart":311.5,"fetchStart":311.5,"redirectEnd":0,"redirectStart":0,"requestStart":311.5,"responseEnd":861,"responseStart":861,"secureConnectionStart":311.5},{"duration":621.7999999970198,"initiatorType":"script","name":"https://jira.mariadb.org/s/c32eb0da7ad9831253f8397e6cc26afd-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":311.70000000298023,"connectEnd":311.70000000298023,"connectStart":311.70000000298023,"domainLookupEnd":311.70000000298023,"domainLookupStart":311.70000000298023,"fetchStart":311.70000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":311.70000000298023,"responseEnd":933.5,"responseStart":933.5,"secureConnectionStart":311.70000000298023},{"duration":625.2999999970198,"initiatorType":"script","name":"https://jira.mariadb.org/s/bc0bcb146314416123c992714ee00ff7-CDN/lu2bv2/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":311.90000000596046,"connectEnd":311.90000000596046,"connectStart":311.90000000596046,"domainLookupEnd":311.90000000596046,"domainLookupStart":311.90000000596046,"fetchStart":311.90000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":311.90000000596046,"responseEnd":937.2000000029802,"responseStart":937.2000000029802,"secureConnectionStart":311.90000000596046},{"duration":625.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":312.1000000089407,"connectEnd":312.1000000089407,"connectStart":312.1000000089407,"domainLookupEnd":312.1000000089407,"domainLookupStart":312.1000000089407,"fetchStart":312.1000000089407,"redirectEnd":0,"redirectStart":0,"requestStart":312.1000000089407,"responseEnd":937.6000000089407,"responseStart":937.6000000089407,"secureConnectionStart":312.1000000089407},{"duration":626.1000000089407,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":312.20000000298023,"connectEnd":312.20000000298023,"connectStart":312.20000000298023,"domainLookupEnd":312.20000000298023,"domainLookupStart":312.20000000298023,"fetchStart":312.20000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":312.20000000298023,"responseEnd":938.3000000119209,"responseStart":938.3000000119209,"secureConnectionStart":312.20000000298023},{"duration":688.4000000059605,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bv2/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":312.40000000596046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":312.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1000.8000000119209,"responseStart":0,"secureConnectionStart":0},{"duration":626.0999999940395,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":312.6000000089407,"connectEnd":312.6000000089407,"connectStart":312.6000000089407,"domainLookupEnd":312.6000000089407,"domainLookupStart":312.6000000089407,"fetchStart":312.6000000089407,"redirectEnd":0,"redirectStart":0,"requestStart":312.6000000089407,"responseEnd":938.7000000029802,"responseStart":938.7000000029802,"secureConnectionStart":312.6000000089407},{"duration":688.2999999970198,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bv2/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":312.70000000298023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":312.70000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1001,"responseStart":0,"secureConnectionStart":0},{"duration":626.2999999970198,"initiatorType":"script","name":"https://jira.mariadb.org/s/719848dd97ebe0663199f49a3936487a-CDN/lu2bv2/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":312.90000000596046,"connectEnd":312.90000000596046,"connectStart":312.90000000596046,"domainLookupEnd":312.90000000596046,"domainLookupStart":312.90000000596046,"fetchStart":312.90000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":312.90000000596046,"responseEnd":939.2000000029802,"responseStart":939.2000000029802,"secureConnectionStart":312.90000000596046},{"duration":826.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":313.6000000089407,"connectEnd":313.6000000089407,"connectStart":313.6000000089407,"domainLookupEnd":313.6000000089407,"domainLookupStart":313.6000000089407,"fetchStart":313.6000000089407,"redirectEnd":0,"redirectStart":0,"requestStart":313.6000000089407,"responseEnd":1140.1000000089407,"responseStart":1140.1000000089407,"secureConnectionStart":313.6000000089407},{"duration":1135.9000000059605,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":313.70000000298023,"connectEnd":313.70000000298023,"connectStart":313.70000000298023,"domainLookupEnd":313.70000000298023,"domainLookupStart":313.70000000298023,"fetchStart":313.70000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":313.70000000298023,"responseEnd":1449.6000000089407,"responseStart":1449.6000000089407,"secureConnectionStart":313.70000000298023},{"duration":129.19999998807907,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1011.8000000119209,"connectEnd":1011.8000000119209,"connectStart":1011.8000000119209,"domainLookupEnd":1011.8000000119209,"domainLookupStart":1011.8000000119209,"fetchStart":1011.8000000119209,"redirectEnd":0,"redirectStart":0,"requestStart":1011.8000000119209,"responseEnd":1141,"responseStart":1141,"secureConnectionStart":1011.8000000119209},{"duration":196.59999999403954,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bv2/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":1263.6000000089407,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1263.6000000089407,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1460.2000000029802,"responseStart":0,"secureConnectionStart":0},{"duration":260,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/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":1264.5,"connectEnd":1264.5,"connectStart":1264.5,"domainLookupEnd":1264.5,"domainLookupStart":1264.5,"fetchStart":1264.5,"redirectEnd":0,"redirectStart":0,"requestStart":1264.5,"responseEnd":1524.5,"responseStart":1524.5,"secureConnectionStart":1264.5}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":108,"responseStart":306,"responseEnd":308,"domLoading":309,"domInteractive":1487,"domContentLoadedEventStart":1487,"domContentLoadedEventEnd":1523,"domComplete":1810,"loadEventStart":1810,"loadEventEnd":1811,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1470.1000000089407},{"name":"bigPipe.sidebar-id.end","time":1470.9000000059605},{"name":"bigPipe.activity-panel-pipe-id.start","time":1471.1000000089407},{"name":"bigPipe.activity-panel-pipe-id.end","time":1471.5},{"name":"activityTabFullyLoaded","time":1529.5}],"measures":[],"correlationId":"2086842b325b07","effectiveType":"4g","downlink":9,"rtt":0,"serverDuration":118,"dbReadsTimeInMs":15,"dbConnsTimeInMs":25,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}