After MDEV-24197, all mtr tests for Galera failed during SST because mariabackup fails with the following diagnostic:
Info: Using unique option prefix 'innodb' is error-prone and can break in the future. Please use the full name 'innodb-force-recovery' instead.
|
210402 03:24:30 innobackupex: Starting the backup operation
|
There new option added by MDEV-24197 is the only argumentin the list (in "innobackupex.cc") that starts with "--innodb" prefix. As a result, get_opt treats any argument starting with "--innodb-" as shorthand for "--innodb-force-recovery".
And we get a non-zero xtrabackup_innodb_force_recovery value due to the parser's erroneous interpretation of some other argument (some other option with the "--innodb-" prefix) supposedly as "--innodb-force-recovery".
In particular, this has to do with the bootstrap process when starting mtr - it's from /mysql-test/t/bootstrap_innodb.test:
exec $MYSQLD_BOOTSTRAP_CMD --datadir=$datadir --innodb < $MYSQLTEST_VARDIR/tmp/bootstrap_test.sql >> $MYSQLTEST_VARDIR/tmp/bootstrap.log 2>&1;
|
{"report":{"fcp":1052.5,"ttfb":232.5,"pageVisibility":"visible","entityId":98492,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"3c1397d0-0954-489c-a110-e0e803ee240f","navigationType":0,"readyForUser":1144.6999998092651,"redirectCount":0,"resourceLoadedEnd":1334.1999998092651,"resourceLoadedStart":260.80000019073486,"resourceTiming":[{"duration":228.30000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":260.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":260.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":489.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":228.29999923706055,"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":261.1000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":261.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":489.3999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":270.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":261.3999996185303,"connectEnd":261.3999996185303,"connectStart":261.3999996185303,"domainLookupEnd":261.3999996185303,"domainLookupStart":261.3999996185303,"fetchStart":261.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":261.3999996185303,"responseEnd":531.6999998092651,"responseStart":531.6999998092651,"secureConnectionStart":261.3999996185303},{"duration":352.69999980926514,"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":261.5,"connectEnd":261.5,"connectStart":261.5,"domainLookupEnd":261.5,"domainLookupStart":261.5,"fetchStart":261.5,"redirectEnd":0,"redirectStart":0,"requestStart":261.5,"responseEnd":614.1999998092651,"responseStart":614.1999998092651,"secureConnectionStart":261.5},{"duration":356.5,"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":261.80000019073486,"connectEnd":261.80000019073486,"connectStart":261.80000019073486,"domainLookupEnd":261.80000019073486,"domainLookupStart":261.80000019073486,"fetchStart":261.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":261.80000019073486,"responseEnd":618.3000001907349,"responseStart":618.1999998092651,"secureConnectionStart":261.80000019073486},{"duration":356.80000019073486,"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":261.8999996185303,"connectEnd":261.8999996185303,"connectStart":261.8999996185303,"domainLookupEnd":261.8999996185303,"domainLookupStart":261.8999996185303,"fetchStart":261.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":261.8999996185303,"responseEnd":618.6999998092651,"responseStart":618.6999998092651,"secureConnectionStart":261.8999996185303},{"duration":357,"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":262.1000003814697,"connectEnd":262.1000003814697,"connectStart":262.1000003814697,"domainLookupEnd":262.1000003814697,"domainLookupStart":262.1000003814697,"fetchStart":262.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":262.1000003814697,"responseEnd":619.1000003814697,"responseStart":619.1000003814697,"secureConnectionStart":262.1000003814697},{"duration":429.5999994277954,"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":262.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":262.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":691.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":357,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":262.5,"connectEnd":262.5,"connectStart":262.5,"domainLookupEnd":262.5,"domainLookupStart":262.5,"fetchStart":262.5,"redirectEnd":0,"redirectStart":0,"requestStart":262.5,"responseEnd":619.5,"responseStart":619.5,"secureConnectionStart":262.5},{"duration":429.5,"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":262.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":262.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":692.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":357.30000019073486,"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":262.8999996185303,"connectEnd":262.8999996185303,"connectStart":262.8999996185303,"domainLookupEnd":262.8999996185303,"domainLookupStart":262.8999996185303,"fetchStart":262.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":262.8999996185303,"responseEnd":620.1999998092651,"responseStart":620.1999998092651,"secureConnectionStart":262.8999996185303},{"duration":936.3999996185303,"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":264.6000003814697,"connectEnd":264.6000003814697,"connectStart":264.6000003814697,"domainLookupEnd":264.6000003814697,"domainLookupStart":264.6000003814697,"fetchStart":264.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":264.6000003814697,"responseEnd":1201,"responseStart":1201,"secureConnectionStart":264.6000003814697},{"duration":1069.5,"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":264.69999980926514,"connectEnd":264.69999980926514,"connectStart":264.69999980926514,"domainLookupEnd":264.69999980926514,"domainLookupStart":264.69999980926514,"fetchStart":264.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":264.69999980926514,"responseEnd":1334.1999998092651,"responseStart":1334.1999998092651,"secureConnectionStart":264.69999980926514},{"duration":493.30000019073486,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":717.3999996185303,"connectEnd":717.3999996185303,"connectStart":717.3999996185303,"domainLookupEnd":717.3999996185303,"domainLookupStart":717.3999996185303,"fetchStart":717.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":717.3999996185303,"responseEnd":1210.6999998092651,"responseStart":1210.6999998092651,"secureConnectionStart":717.3999996185303},{"duration":383.30000019073486,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1045.6999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1045.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1429,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":51,"responseStart":233,"responseEnd":234,"domLoading":258,"domInteractive":1369,"domContentLoadedEventStart":1369,"domContentLoadedEventEnd":1425,"domComplete":2132,"loadEventStart":2132,"loadEventEnd":2132,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1339.5},{"name":"bigPipe.sidebar-id.end","time":1340.3999996185303},{"name":"bigPipe.activity-panel-pipe-id.start","time":1340.6000003814697},{"name":"bigPipe.activity-panel-pipe-id.end","time":1342.6000003814697},{"name":"activityTabFullyLoaded","time":1443}],"measures":[],"correlationId":"2ee3531983e546","effectiveType":"4g","downlink":9.4,"rtt":0,"serverDuration":115,"dbReadsTimeInMs":14,"dbConnsTimeInMs":23,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
No, this is yet another hack on top of all other hacks.
As discussed on slack, it's safer to disable prefix matching for command line options completely.