serg We do not guaranty mariabackup compatibility among major versions. Besides, we already did more serious renames from compatibility perspective, like mysqld->mariadbd, mariabackup->mariadb-backup etc. But we used symlinks for that, what is reasonable and can be used for this issue too.
Vladislav Lesin
added a comment - serg We do not guaranty mariabackup compatibility among major versions. Besides, we already did more serious renames from compatibility perspective, like mysqld->mariadbd, mariabackup->mariadb-backup etc. But we used symlinks for that, what is reasonable and can be used for this issue too.
We could create mariabackup_* files instead of xtrabackup_*, and create xtrabackup_* symlinks to mariabackup_* to let existing user scripts to use old names.
Vladislav Lesin
added a comment - - edited We could create mariabackup_* files instead of xtrabackup_*, and create xtrabackup_* symlinks to mariabackup_* to let existing user scripts to use old names.
Alexander Barkov
added a comment - serg , please review this patch:
https://github.com/MariaDB/server/commit/ba70039c89b91dc1017d1451864bcd3caa3cbda0
Thanks!
Alexander Barkov
added a comment - Hi vlad.lesin ,
Please review a new patch version:
https://github.com/MariaDB/server/commit/39184ac9a0cb2cb56ef286a6b23b3becb729d2ee
Thanks.
bar, I have some doubts about xtrabackup_galera_info renaming. It's used in ./scripts/wsrep_sst_mariabackup.sh for creating state for adding new node to galera cluster. If we just rename it and don't fix the script, it will be broken. I think there should be the same logic in this script as for backup preparing, i.e. try to use old file name, and then the new one. sysprg, could you please suggest how to fix the script?
Vladislav Lesin
added a comment - - edited bar , I have some doubts about xtrabackup_galera_info renaming. It's used in ./scripts/wsrep_sst_mariabackup.sh for creating state for adding new node to galera cluster. If we just rename it and don't fix the script, it will be broken. I think there should be the same logic in this script as for backup preparing, i.e. try to use old file name, and then the new one. sysprg , could you please suggest how to fix the script?
Vladislav Lesin
added a comment - Taking into account that the galera sst script for mariabackup will be fixed by Julius, https://github.com/MariaDB/server/commit/0f97bd1244d7c7618698b46327dc2a0900fd8026 looks good to me.
I do not like the idea of renaming files at a later stage as this would make it impossible to use the backup with an older version if things goes wrong.
It is better to revert to use the old names if the new name does not exist and old name exists.
Michael Widenius
added a comment - I do not like the idea of renaming files at a later stage as this would make it impossible to use the backup with an older version if things goes wrong.
It is better to revert to use the old names if the new name does not exist and old name exists.
As we are guaranteeing that one can move from ANY MariaDB version to ANY future version of MariaDB without any fuss, we can NEVER remove supporting the old names from the code. Not in 12.0 or later.
Michael Widenius
added a comment - As we are guaranteeing that one can move from ANY MariaDB version to ANY future version of MariaDB without any fuss, we can NEVER remove supporting the old names from the code. Not in 12.0 or later.
People
Alexander Barkov
Geoff Montee (Inactive)
Votes:
1Vote for this issue
Watchers:
10Start 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":1008.2000000476837,"ttfb":253.60000014305115,"pageVisibility":"visible","entityId":73284,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"2974d261-7ab6-46a2-849e-8ec72cc83161","navigationType":0,"readyForUser":1096.8000001907349,"redirectCount":0,"resourceLoadedEnd":1123.9000000953674,"resourceLoadedStart":260,"resourceTiming":[{"duration":206.10000014305115,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":260,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":260,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":466.10000014305115,"responseStart":0,"secureConnectionStart":0},{"duration":206.29999995231628,"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":260.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":260.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":466.5,"responseStart":0,"secureConnectionStart":0},{"duration":215.20000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":260.5,"connectEnd":260.5,"connectStart":260.5,"domainLookupEnd":260.5,"domainLookupStart":260.5,"fetchStart":260.5,"redirectEnd":0,"redirectStart":0,"requestStart":260.5,"responseEnd":475.7000000476837,"responseStart":475.7000000476837,"secureConnectionStart":260.5},{"duration":338,"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":260.7000000476837,"connectEnd":260.7000000476837,"connectStart":260.7000000476837,"domainLookupEnd":260.7000000476837,"domainLookupStart":260.7000000476837,"fetchStart":260.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":260.7000000476837,"responseEnd":598.7000000476837,"responseStart":598.7000000476837,"secureConnectionStart":260.7000000476837},{"duration":341.7999999523163,"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":260.90000009536743,"connectEnd":260.90000009536743,"connectStart":260.90000009536743,"domainLookupEnd":260.90000009536743,"domainLookupStart":260.90000009536743,"fetchStart":260.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":260.90000009536743,"responseEnd":602.7000000476837,"responseStart":602.7000000476837,"secureConnectionStart":260.90000009536743},{"duration":342,"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.2000000476837,"connectEnd":261.2000000476837,"connectStart":261.2000000476837,"domainLookupEnd":261.2000000476837,"domainLookupStart":261.2000000476837,"fetchStart":261.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":261.2000000476837,"responseEnd":603.2000000476837,"responseStart":603.2000000476837,"secureConnectionStart":261.2000000476837},{"duration":342.19999980926514,"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":261.30000019073486,"connectEnd":261.30000019073486,"connectStart":261.30000019073486,"domainLookupEnd":261.30000019073486,"domainLookupStart":261.30000019073486,"fetchStart":261.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":261.30000019073486,"responseEnd":603.5,"responseStart":603.5,"secureConnectionStart":261.30000019073486},{"duration":365.40000009536743,"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":261.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":261.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":626.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":342.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":261.7000000476837,"connectEnd":261.7000000476837,"connectStart":261.7000000476837,"domainLookupEnd":261.7000000476837,"domainLookupStart":261.7000000476837,"fetchStart":261.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":261.7000000476837,"responseEnd":604,"responseStart":604,"secureConnectionStart":261.7000000476837},{"duration":365.09999990463257,"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":261.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":261.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":627,"responseStart":0,"secureConnectionStart":0},{"duration":342.5,"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,"connectEnd":262,"connectStart":262,"domainLookupEnd":262,"domainLookupStart":262,"fetchStart":262,"redirectEnd":0,"redirectStart":0,"requestStart":262,"responseEnd":604.5,"responseStart":604.5,"secureConnectionStart":262},{"duration":506.40000009536743,"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.40000009536743,"connectEnd":264.40000009536743,"connectStart":264.40000009536743,"domainLookupEnd":264.40000009536743,"domainLookupStart":264.40000009536743,"fetchStart":264.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":264.40000009536743,"responseEnd":770.8000001907349,"responseStart":770.8000001907349,"secureConnectionStart":264.40000009536743},{"duration":854.7999999523163,"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":269.10000014305115,"connectEnd":269.10000014305115,"connectStart":269.10000014305115,"domainLookupEnd":269.10000014305115,"domainLookupStart":269.10000014305115,"fetchStart":269.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":269.10000014305115,"responseEnd":1123.9000000953674,"responseStart":1123.9000000953674,"secureConnectionStart":269.10000014305115},{"duration":131.39999985694885,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":639.8000001907349,"connectEnd":639.8000001907349,"connectStart":639.8000001907349,"domainLookupEnd":639.8000001907349,"domainLookupStart":639.8000001907349,"fetchStart":639.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":639.8000001907349,"responseEnd":771.2000000476837,"responseStart":771.2000000476837,"secureConnectionStart":639.8000001907349}],"fetchStart":1,"domainLookupStart":1,"domainLookupEnd":1,"connectStart":1,"connectEnd":1,"requestStart":67,"responseStart":254,"responseEnd":259,"domLoading":258,"domInteractive":1167,"domContentLoadedEventStart":1167,"domContentLoadedEventEnd":1216,"domComplete":2011,"loadEventStart":2011,"loadEventEnd":2012,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1145},{"name":"bigPipe.sidebar-id.end","time":1145.8000001907349},{"name":"bigPipe.activity-panel-pipe-id.start","time":1146},{"name":"bigPipe.activity-panel-pipe-id.end","time":1148.5},{"name":"activityTabFullyLoaded","time":1247.7000000476837}],"measures":[],"correlationId":"148684e1b48401","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":119,"dbReadsTimeInMs":22,"dbConnsTimeInMs":31,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
any compatibility concerns?