Galera MTR suite has following tests, which are configured to use xtrabackup as SST method:
galera_autoinc_sst_xtrabackup
galera_ist_innodb_flush_logs
galera_ist_xtrabackup-v2
galera_sst_xtrabackup-v2-options
galera_sst_xtrabackup-v2_encrypt_with_key
And there are no tests using mariabackup, at the moment.
Starting from MariaDB 10.2, xtrabackup (version 2.4) does not work with the reviced redo log format. Therefore it is substantial to either add mariabackup as option for SST or to change all SST tests to use mariabackup instead of xtrabackup.
Percona Xtrabackup may be unsafe to use with MariaDB 10.2, because it may process undo log records in a way that is incompatible with the changes implemented in MDEV-12289 (to maintain undo log compatibility with older versions of MariaDB and MySQL up to 5.6).
Xtrabackup cannot possibly work with the new redo log format introduced in MariaDB 10.3 for MDEV-12288 and MDEV-11369. It also never worked with innodb_encrypt_log. While we are at this, maybe the transfer of encrypted InnoDB data and log files should be covered by tests?
Marko Mäkelä
added a comment - Percona Xtrabackup may be unsafe to use with MariaDB 10.2, because it may process undo log records in a way that is incompatible with the changes implemented in MDEV-12289 (to maintain undo log compatibility with older versions of MariaDB and MySQL up to 5.6).
Xtrabackup cannot possibly work with the new redo log format introduced in MariaDB 10.3 for MDEV-12288 and MDEV-11369 . It also never worked with innodb_encrypt_log . While we are at this, maybe the transfer of encrypted InnoDB data and log files should be covered by tests?
winstone Could you start by applying the pull request and then try to fix the actual test cases one by one to get this issue fixed ?
Jan Lindström (Inactive)
added a comment - winstone Could you start by applying the pull request and then try to fix the actual test cases one by one to get this issue fixed ?
As far as I can tell, the pull request does not replace references to xtrabackup or innobackupex in scripts/wsrep_sst_xtrabackup*. In fact, it does not touch those scripts at all. I do not think that those scripts have any reason to exist in MariaDB 10.2+.
Marko Mäkelä
added a comment - As far as I can tell, the pull request does not replace references to xtrabackup or innobackupex in scripts/wsrep_sst_xtrabackup* . In fact, it does not touch those scripts at all. I do not think that those scripts have any reason to exist in MariaDB 10.2+.
in my opinion it is more appropriate to update galera test suite MTR with separate mariabackup tests , instead of change the available MTR xtrabackup,xtrabackup-v2 tests — refer to MDEV-16018, as well MDEV-16019
Zdravelina Sokolovska (Inactive)
added a comment - - edited in my opinion it is more appropriate to update galera test suite MTR with separate mariabackup tests , instead of change the available MTR xtrabackup,xtrabackup-v2 tests — refer to MDEV-16018 , as well MDEV-16019
I think that we have no other choice than to remove the xtrabackup scripts from 10.2, because the crash-downgrade prevention in MDEV-13564 (which is planned to be pushed to 10.2) will prevent xtrabackup from working at all. It changes the InnoDB redo log format tag, which will prevent older 10.2 versions from doing crash-downgrade (or versions before MDEV-14909, even a downgrade after clean shutdown).
Marko Mäkelä
added a comment - I think that we have no other choice than to remove the xtrabackup scripts from 10.2, because the crash-downgrade prevention in MDEV-13564 (which is planned to be pushed to 10.2) will prevent xtrabackup from working at all. It changes the InnoDB redo log format tag, which will prevent older 10.2 versions from doing crash-downgrade (or versions before MDEV-14909 , even a downgrade after clean shutdown).
Now that MariaDB Server 10.2.19 will include the fix of MDEV-13564, xtrabackup will no longer work, and I believe that we must remove all references to it starting from 10.2.19.
Marko Mäkelä
added a comment - Now that MariaDB Server 10.2.19 will include the fix of MDEV-13564 , xtrabackup will no longer work, and I believe that we must remove all references to it starting from 10.2.19.
Changing the galera_ist_xtrabackup-v2.test is duplicating the alredy existing galera_sst_mariabackup.test
Zdravelina Sokolovska (Inactive)
added a comment - Changing the galera_ist_xtrabackup-v2.test is duplicating the alredy existing galera_sst_mariabackup.test
updated the galera disabled.def with galera_autoinc_sst_xtrabackup, galera_ist_innodb_flush_logs, galera_ist_xtrabackup-v2, galera_sst_xtrabackup-v2-options, galera_sst_xtrabackup-v2_encrypt_with_key tests due to MDEV-17304 Replace use of XtraBackup with MariaDB Backup https://github.com/MariaDB/server/pull/872
Zdravelina Sokolovska (Inactive)
added a comment - - edited updated the galera disabled.def with galera_autoinc_sst_xtrabackup, galera_ist_innodb_flush_logs, galera_ist_xtrabackup-v2, galera_sst_xtrabackup-v2-options, galera_sst_xtrabackup-v2_encrypt_with_key tests due to MDEV-17304 Replace use of XtraBackup with MariaDB Backup
https://github.com/MariaDB/server/pull/872
10.2: Added mariabackup tests, xtrabackup tests with innodb-safe-truncate=off
10.3: Disabled xtrabackup tests as they can't work
Jan Lindström (Inactive)
added a comment -
10.2: Added mariabackup tests, xtrabackup tests with innodb-safe-truncate=off
10.3: Disabled xtrabackup tests as they can't work
People
Jan Lindström (Inactive)
Seppo Jaakola
Votes:
0Vote for this issue
Watchers:
8Start 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":1233.8999999761581,"ttfb":561.6999999284744,"pageVisibility":"visible","entityId":66232,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"a5f94828-2ab5-4e88-bfbd-cce68f3a9ec2","navigationType":0,"readyForUser":1328.5,"redirectCount":0,"resourceLoadedEnd":1358.1999999284744,"resourceLoadedStart":567.7999999523163,"resourceTiming":[{"duration":134.10000002384186,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":567.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":567.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":701.8999999761581,"responseStart":0,"secureConnectionStart":0},{"duration":134.30000007152557,"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":568.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":568.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":702.3999999761581,"responseStart":0,"secureConnectionStart":0},{"duration":190,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":568.2999999523163,"connectEnd":568.2999999523163,"connectStart":568.2999999523163,"domainLookupEnd":568.2999999523163,"domainLookupStart":568.2999999523163,"fetchStart":568.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":568.2999999523163,"responseEnd":758.2999999523163,"responseStart":758.2999999523163,"secureConnectionStart":568.2999999523163},{"duration":272.60000002384186,"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":568.3999999761581,"connectEnd":568.3999999761581,"connectStart":568.3999999761581,"domainLookupEnd":568.3999999761581,"domainLookupStart":568.3999999761581,"fetchStart":568.3999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":568.3999999761581,"responseEnd":841,"responseStart":841,"secureConnectionStart":568.3999999761581},{"duration":276.2000000476837,"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":568.6999999284744,"connectEnd":568.6999999284744,"connectStart":568.6999999284744,"domainLookupEnd":568.6999999284744,"domainLookupStart":568.6999999284744,"fetchStart":568.6999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":568.6999999284744,"responseEnd":844.8999999761581,"responseStart":844.8999999761581,"secureConnectionStart":568.6999999284744},{"duration":276.5,"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":568.8999999761581,"connectEnd":568.8999999761581,"connectStart":568.8999999761581,"domainLookupEnd":568.8999999761581,"domainLookupStart":568.8999999761581,"fetchStart":568.8999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":568.8999999761581,"responseEnd":845.3999999761581,"responseStart":845.3999999761581,"secureConnectionStart":568.8999999761581},{"duration":276.6999999284744,"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":569,"connectEnd":569,"connectStart":569,"domainLookupEnd":569,"domainLookupStart":569,"fetchStart":569,"redirectEnd":0,"redirectStart":0,"requestStart":569,"responseEnd":845.6999999284744,"responseStart":845.6999999284744,"secureConnectionStart":569},{"duration":335.39999997615814,"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":569.1999999284744,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":569.1999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":904.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":276.7999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":569.3999999761581,"connectEnd":569.3999999761581,"connectStart":569.3999999761581,"domainLookupEnd":569.3999999761581,"domainLookupStart":569.3999999761581,"fetchStart":569.3999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":569.3999999761581,"responseEnd":846.1999999284744,"responseStart":846.1999999284744,"secureConnectionStart":569.3999999761581},{"duration":335.2999999523163,"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":569.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":569.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":904.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":277,"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":569.6999999284744,"connectEnd":569.6999999284744,"connectStart":569.6999999284744,"domainLookupEnd":569.6999999284744,"domainLookupStart":569.6999999284744,"fetchStart":569.6999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":569.6999999284744,"responseEnd":846.6999999284744,"responseStart":846.6999999284744,"secureConnectionStart":569.6999999284744},{"duration":593.6000000238419,"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":571.0999999046326,"connectEnd":571.0999999046326,"connectStart":571.0999999046326,"domainLookupEnd":571.0999999046326,"domainLookupStart":571.0999999046326,"fetchStart":571.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":571.0999999046326,"responseEnd":1164.6999999284744,"responseStart":1164.6999999284744,"secureConnectionStart":571.0999999046326},{"duration":693.7000000476837,"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":571.1999999284744,"connectEnd":571.1999999284744,"connectStart":571.1999999284744,"domainLookupEnd":571.1999999284744,"domainLookupStart":571.1999999284744,"fetchStart":571.1999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":571.1999999284744,"responseEnd":1264.8999999761581,"responseStart":1264.8999999761581,"secureConnectionStart":571.1999999284744},{"duration":251,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":921.6999999284744,"connectEnd":921.6999999284744,"connectStart":921.6999999284744,"domainLookupEnd":921.6999999284744,"domainLookupStart":921.6999999284744,"fetchStart":921.6999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":921.6999999284744,"responseEnd":1172.6999999284744,"responseStart":1172.6999999284744,"secureConnectionStart":921.6999999284744},{"duration":173,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/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&whisper-enabled=true","startTime":1185,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1185,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1358,"responseStart":0,"secureConnectionStart":0},{"duration":172.60000002384186,"initiatorType":"link","name":"https://jira.mariadb.org/s/50bc9be5bfead1a25e72c1a9338c94f6-CDN/lu2cib/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&whisper-enabled=true","startTime":1185.5999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1185.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1358.1999999284744,"responseStart":0,"secureConnectionStart":0},{"duration":165,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/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&whisper-enabled=true","startTime":1186.3999999761581,"connectEnd":1186.3999999761581,"connectStart":1186.3999999761581,"domainLookupEnd":1186.3999999761581,"domainLookupStart":1186.3999999761581,"fetchStart":1186.3999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":1186.3999999761581,"responseEnd":1351.3999999761581,"responseStart":1351.3999999761581,"secureConnectionStart":1186.3999999761581},{"duration":169.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/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&whisper-enabled=true","startTime":1186.7999999523163,"connectEnd":1186.7999999523163,"connectStart":1186.7999999523163,"domainLookupEnd":1186.7999999523163,"domainLookupStart":1186.7999999523163,"fetchStart":1186.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":1186.7999999523163,"responseEnd":1356.5999999046326,"responseStart":1356.5999999046326,"secureConnectionStart":1186.7999999523163},{"duration":170.80000007152557,"initiatorType":"script","name":"https://jira.mariadb.org/s/e0bf5781d46ea69fb123572974cf39de-CDN/lu2cib/820016/12ta74/e108c7645258ccb43280ed3404e3e949/_/download/contextbatch/js/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.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":1187.1999999284744,"connectEnd":1187.1999999284744,"connectStart":1187.1999999284744,"domainLookupEnd":1187.1999999284744,"domainLookupStart":1187.1999999284744,"fetchStart":1187.1999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":1187.1999999284744,"responseEnd":1358,"responseStart":1358,"secureConnectionStart":1187.1999999284744},{"duration":260.60000002384186,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1227.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1227.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1488.3999999761581,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":385,"responseStart":562,"responseEnd":565,"domLoading":565,"domInteractive":1441,"domContentLoadedEventStart":1441,"domContentLoadedEventEnd":1487,"domComplete":1796,"loadEventStart":1796,"loadEventEnd":1796,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1415.0999999046326},{"name":"bigPipe.sidebar-id.end","time":1415.8999999761581},{"name":"bigPipe.activity-panel-pipe-id.start","time":1416.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.end","time":1418.6999999284744},{"name":"activityTabFullyLoaded","time":1519.5999999046326}],"measures":[],"correlationId":"e7ae8b57470226","effectiveType":"4g","downlink":9,"rtt":0,"serverDuration":124,"dbReadsTimeInMs":23,"dbConnsTimeInMs":34,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
jplindst, please review https://github.com/MariaDB/server/pull/648