Hello,
executing "mariabackup --prepare --export" on a server with the original mariadb server process running fails if innodb_undo_directory is set (to an absolute path) as the newly started process cannot get the lock on the undo files.
How to reproduce:
- set innodb_undo_tablespaces to 3 (this is probably irrelevant)
- set innodb_undo_directory to an absolute path and restart mariadb
- create a backup with "mariabackup --backup --defaults-file=<path_to_original_my.cnf>"
- run "mariabackup --prepare --export"
In the log file (*.err) you will find some errors:
[ERROR] InnoDB: Unable to lock <innodb_undo_directory>/undo001 error: 11
The reason is that innodb_undo_directory is set in backup-my.cnf to the same path as for the original server.
If you comment out or delete innodb_undo_directory from backup-my.cnf, running mariabackup with export works fine.
So the fix would be not to include innodb_undo_directory in backup-my.cnf during backup.
Cheers
Volker
No workflow transitions have been executed yet.
{"report":{"fcp":1181.8999996185303,"ttfb":435.79999923706055,"pageVisibility":"visible","entityId":102411,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"d76d75cc-0c6e-4989-a0fc-b04713eebff0","navigationType":0,"readyForUser":1249.5999994277954,"redirectCount":0,"resourceLoadedEnd":1316.5,"resourceLoadedStart":444.19999980926514,"resourceTiming":[{"duration":104.30000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":444.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":444.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":548.5,"responseStart":0,"secureConnectionStart":0},{"duration":104.5,"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":444.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":444.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":548.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":170.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":444.69999980926514,"connectEnd":444.69999980926514,"connectStart":444.69999980926514,"domainLookupEnd":444.69999980926514,"domainLookupStart":444.69999980926514,"fetchStart":444.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":444.69999980926514,"responseEnd":615.5,"responseStart":615.5,"secureConnectionStart":444.69999980926514},{"duration":268.5,"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":444.8999996185303,"connectEnd":444.8999996185303,"connectStart":444.8999996185303,"domainLookupEnd":444.8999996185303,"domainLookupStart":444.8999996185303,"fetchStart":444.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":444.8999996185303,"responseEnd":713.3999996185303,"responseStart":713.3999996185303,"secureConnectionStart":444.8999996185303},{"duration":273,"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":445,"connectEnd":445,"connectStart":445,"domainLookupEnd":445,"domainLookupStart":445,"fetchStart":445,"redirectEnd":0,"redirectStart":0,"requestStart":445,"responseEnd":718,"responseStart":718,"secureConnectionStart":445},{"duration":273.19999980926514,"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":445.19999980926514,"connectEnd":445.19999980926514,"connectStart":445.19999980926514,"domainLookupEnd":445.19999980926514,"domainLookupStart":445.19999980926514,"fetchStart":445.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":445.19999980926514,"responseEnd":718.3999996185303,"responseStart":718.3999996185303,"secureConnectionStart":445.19999980926514},{"duration":273.5,"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":445.3999996185303,"connectEnd":445.3999996185303,"connectStart":445.3999996185303,"domainLookupEnd":445.3999996185303,"domainLookupStart":445.3999996185303,"fetchStart":445.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":445.3999996185303,"responseEnd":718.8999996185303,"responseStart":718.8999996185303,"secureConnectionStart":445.3999996185303},{"duration":319.69999980926514,"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":445.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":445.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":765.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":273.5999994277954,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":445.69999980926514,"connectEnd":445.69999980926514,"connectStart":445.69999980926514,"domainLookupEnd":445.69999980926514,"domainLookupStart":445.69999980926514,"fetchStart":445.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":445.69999980926514,"responseEnd":719.2999992370605,"responseStart":719.2999992370605,"secureConnectionStart":445.69999980926514},{"duration":319.3999996185303,"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":445.8999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":445.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":765.2999992370605,"responseStart":0,"secureConnectionStart":0},{"duration":273.8999996185303,"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":446,"connectEnd":446,"connectStart":446,"domainLookupEnd":446,"domainLookupStart":446,"fetchStart":446,"redirectEnd":0,"redirectStart":0,"requestStart":446,"responseEnd":719.8999996185303,"responseStart":719.8999996185303,"secureConnectionStart":446},{"duration":804,"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":446.8999996185303,"connectEnd":446.8999996185303,"connectStart":446.8999996185303,"domainLookupEnd":446.8999996185303,"domainLookupStart":446.8999996185303,"fetchStart":446.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":446.8999996185303,"responseEnd":1250.8999996185303,"responseStart":1250.7999992370605,"secureConnectionStart":446.8999996185303},{"duration":805.1000003814697,"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":446.8999996185303,"connectEnd":446.8999996185303,"connectStart":446.8999996185303,"domainLookupEnd":446.8999996185303,"domainLookupStart":446.8999996185303,"fetchStart":446.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":446.8999996185303,"responseEnd":1252,"responseStart":1252,"secureConnectionStart":446.8999996185303},{"duration":148.10000038146973,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":778.0999994277954,"connectEnd":778.0999994277954,"connectStart":778.0999994277954,"domainLookupEnd":778.0999994277954,"domainLookupStart":778.0999994277954,"fetchStart":778.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":778.0999994277954,"responseEnd":926.1999998092651,"responseStart":926.1999998092651,"secureConnectionStart":778.0999994277954},{"duration":232.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&slack-enabled=true&whisper-enabled=true","startTime":1083.6999998092651,"connectEnd":1083.6999998092651,"connectStart":1083.6999998092651,"domainLookupEnd":1083.6999998092651,"domainLookupStart":1083.6999998092651,"fetchStart":1083.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1083.6999998092651,"responseEnd":1316.5,"responseStart":1316.5,"secureConnectionStart":1083.6999998092651}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":283,"responseStart":436,"responseEnd":437,"domLoading":441,"domInteractive":1362,"domContentLoadedEventStart":1362,"domContentLoadedEventEnd":1401,"domComplete":1679,"loadEventStart":1679,"loadEventEnd":1679,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1341.3999996185303},{"name":"bigPipe.sidebar-id.end","time":1342.7999992370605},{"name":"bigPipe.activity-panel-pipe-id.start","time":1343},{"name":"bigPipe.activity-panel-pipe-id.end","time":1343.5},{"name":"activityTabFullyLoaded","time":1410.1999998092651}],"measures":[],"correlationId":"b28379acbb94e","effectiveType":"4g","downlink":9.1,"rtt":0,"serverDuration":93,"dbReadsTimeInMs":10,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}