A prepared backup from Mariabackup 10.2 does not really need to contain a redo log file, because all redo log will have been applied to the data files.
When the user copies a prepared backup to a data directory (overwriting existing files), it could happen that the data directory already contained redo log files from the past. mariabackup --copy-back) would delete the old redo log files, but a user’s own copying script might not do that. To prevent corruption caused by mixing an old redo log file with data files from a backup, in MDEV-13311 Mariabackup would create a zero-length ib_logfile0 that would prevent startup.
Actually, there is no need to prevent InnoDB from starting up when a single zero-length file ib_logfile0 is present. Only if there exist multiple data files of different lengths, then we should refuse to start up. A single zero-length ib_logfile0 should be treated just like a missing log file: create new log files according to the configuration.
- is caused by
-
MDEV-13311
Presence of old logs in 10.2.7 will corrupt restored instance (change in behavior)
-
-
Closed
There are no comments yet on this issue.
{"report":{"fcp":1908.7000000476837,"ttfb":551.7000000476837,"pageVisibility":"visible","entityId":70246,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"21a23417-e9da-49b3-b2e9-8c4329a4e99e","navigationType":0,"readyForUser":1976.6000000238419,"redirectCount":0,"resourceLoadedEnd":2783.600000023842,"resourceLoadedStart":556.7000000476837,"resourceTiming":[{"duration":852.2000000476837,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":556.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":556.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1408.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":852.3999999761581,"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":556.9000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":556.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1409.3000000715256,"responseStart":0,"secureConnectionStart":0},{"duration":905.2000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":557.1000000238419,"connectEnd":557.1000000238419,"connectStart":557.1000000238419,"domainLookupEnd":557.1000000238419,"domainLookupStart":557.1000000238419,"fetchStart":557.1000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":557.1000000238419,"responseEnd":1462.3000000715256,"responseStart":1462.3000000715256,"secureConnectionStart":557.1000000238419},{"duration":961.1999999284744,"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":557.3000000715256,"connectEnd":557.3000000715256,"connectStart":557.3000000715256,"domainLookupEnd":557.3000000715256,"domainLookupStart":557.3000000715256,"fetchStart":557.3000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":557.3000000715256,"responseEnd":1518.5,"responseStart":1518.5,"secureConnectionStart":557.3000000715256},{"duration":964.5,"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":557.6000000238419,"connectEnd":557.6000000238419,"connectStart":557.6000000238419,"domainLookupEnd":557.6000000238419,"domainLookupStart":557.6000000238419,"fetchStart":557.6000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":557.6000000238419,"responseEnd":1522.1000000238419,"responseStart":1522,"secureConnectionStart":557.6000000238419},{"duration":964.6999999284744,"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":557.8000000715256,"connectEnd":557.8000000715256,"connectStart":557.8000000715256,"domainLookupEnd":557.8000000715256,"domainLookupStart":557.8000000715256,"fetchStart":557.8000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":557.8000000715256,"responseEnd":1522.5,"responseStart":1522.5,"secureConnectionStart":557.8000000715256},{"duration":965.1999999284744,"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":557.9000000953674,"connectEnd":557.9000000953674,"connectStart":557.9000000953674,"domainLookupEnd":557.9000000953674,"domainLookupStart":557.9000000953674,"fetchStart":557.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":557.9000000953674,"responseEnd":1523.1000000238419,"responseStart":1523.1000000238419,"secureConnectionStart":557.9000000953674},{"duration":1046,"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":558.1000000238419,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":558.1000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1604.1000000238419,"responseStart":0,"secureConnectionStart":0},{"duration":965.1999999284744,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":558.3000000715256,"connectEnd":558.3000000715256,"connectStart":558.3000000715256,"domainLookupEnd":558.3000000715256,"domainLookupStart":558.3000000715256,"fetchStart":558.3000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":558.3000000715256,"responseEnd":1523.5,"responseStart":1523.5,"secureConnectionStart":558.3000000715256},{"duration":1045.7999999523163,"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":558.4000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":558.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1604.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":965.6000000238419,"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":558.5,"connectEnd":558.5,"connectStart":558.5,"domainLookupEnd":558.5,"domainLookupStart":558.5,"fetchStart":558.5,"redirectEnd":0,"redirectStart":0,"requestStart":558.5,"responseEnd":1524.1000000238419,"responseStart":1524.1000000238419,"secureConnectionStart":558.5},{"duration":1402.0999999046326,"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":559.4000000953674,"connectEnd":559.4000000953674,"connectStart":559.4000000953674,"domainLookupEnd":559.4000000953674,"domainLookupStart":559.4000000953674,"fetchStart":559.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":559.4000000953674,"responseEnd":1961.5,"responseStart":1961.5,"secureConnectionStart":559.4000000953674},{"duration":2220.399999976158,"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":559.4000000953674,"connectEnd":559.4000000953674,"connectStart":559.4000000953674,"domainLookupEnd":559.4000000953674,"domainLookupStart":559.4000000953674,"fetchStart":559.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":559.4000000953674,"responseEnd":2779.8000000715256,"responseStart":2779.8000000715256,"secureConnectionStart":559.4000000953674},{"duration":364.2000000476837,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1615.6000000238419,"connectEnd":1615.6000000238419,"connectStart":1615.6000000238419,"domainLookupEnd":1615.6000000238419,"domainLookupStart":1615.6000000238419,"fetchStart":1615.6000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":1615.6000000238419,"responseEnd":1979.8000000715256,"responseStart":1979.8000000715256,"secureConnectionStart":1615.6000000238419},{"duration":880.3999999761581,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1902.8000000715256,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1902.8000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2783.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":774.5,"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":2008.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":2008.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2783,"responseStart":0,"secureConnectionStart":0},{"duration":771.8999999761581,"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":2009.6000000238419,"connectEnd":2009.6000000238419,"connectStart":2009.6000000238419,"domainLookupEnd":2009.6000000238419,"domainLookupStart":2009.6000000238419,"fetchStart":2009.6000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":2009.6000000238419,"responseEnd":2781.5,"responseStart":2781.5,"secureConnectionStart":2009.6000000238419},{"duration":773.6000000238419,"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":2010,"connectEnd":2010,"connectStart":2010,"domainLookupEnd":2010,"domainLookupStart":2010,"fetchStart":2010,"redirectEnd":0,"redirectStart":0,"requestStart":2010,"responseEnd":2783.600000023842,"responseStart":2783.600000023842,"secureConnectionStart":2010}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":388,"responseStart":551,"responseEnd":552,"domLoading":554,"domInteractive":2800,"domContentLoadedEventStart":2800,"domContentLoadedEventEnd":2837,"domComplete":3358,"loadEventStart":3358,"loadEventEnd":3358,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2784.2000000476837},{"name":"bigPipe.sidebar-id.end","time":2784.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.start","time":2785.100000023842},{"name":"bigPipe.activity-panel-pipe-id.end","time":2785.600000023842},{"name":"activityTabFullyLoaded","time":2846.100000023842}],"measures":[],"correlationId":"389073004e06d3","effectiveType":"4g","downlink":9.6,"rtt":0,"serverDuration":104,"dbReadsTimeInMs":14,"dbConnsTimeInMs":22,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}