Since MDEV-17591 , MariaDB has installed mariadb-backup as an alias for mariabackup . See here:
https://github.com/MariaDB/server/blob/mariadb-10.4.11/cmake/symlinks.cmake#L15
Similar aliases are installed for other commands. For example, mariadb-binlog is installed as an alias for mysqlbinlog . As part of this change, the mysqlbinlog utility now reads options from the [mariadb-binlog] option group as well. From client/mysqlbinlog.cc :
static const char *load_groups[]=
{ "mysqlbinlog", "mariadb-binlog", "client", "client-server", "client-mariadb",
0 };
https://github.com/MariaDB/server/blob/mariadb-10.4.11/client/mysqlbinlog.cc#L96
However, mariabackup does not yet read from the mariadb-backup option group. From extra/mariabackup/xtrabackup.cc :
static const char *xb_client_default_groups[]={
"xtrabackup", "mariabackup",
"client", "client-server",
"client-mariadb",
0, 0, 0
};
static const char *xb_server_default_groups[]={
"xtrabackup", "mariabackup",
"mysqld", "server", MYSQL_BASE_VERSION,
"mariadb", MARIADB_BASE_VERSION,
"client-server",
#ifdef WITH_WSREP
"galera",
#endif
0, 0, 0
};
https://github.com/MariaDB/server/blob/mariadb-10.4.11/extra/mariabackup/xtrabackup.cc#L1570
Also see the documentation:
https://mariadb.com/kb/en/library/mariabackup-overview/#server-option-groups
https://mariadb.com/kb/en/library/mariabackup-overview/#client-option-groups
Geoff Montee (Inactive)
made changes -
2019-12-12 11:40
Description
Since MDEV-17591 , MariaDB has installed {{mariadb-backup}} as an alias for {{mariabackup}}. See here:
https://github.com/MariaDB/server/blob/mariadb-10.4.11/cmake/symlinks.cmake#L15
Similar aliases are installed for other commands. For example, {{mariadb-binlog}} is installed as an alias for {{mysqlbinlog}}. As part of this change, the {{mysqlbinlog}} utility now reads options from the {{[mariadb-binlog]}} option group as well. From {{client/mysqlbinlog.cc}}:
{code}
static const char *load_groups[]=
{ "mysqlbinlog", "mariadb-binlog", "client", "client-server", "client-mariadb",
0 };
{code}
https://github.com/MariaDB/server/blob/mariadb-10.4.11/client/mysqlbinlog.cc#L96
However, {{mariabackup}} does not yet read from the {{mariadb-backup}} option group. From {{extra/mariabackup/xtrabackup.cc}}:
{code}
static const char *xb_client_default_groups[]={
"xtrabackup", "mariabackup",
"client", "client-server",
"client-mariadb",
0, 0, 0
};
static const char *xb_server_default_groups[]={
"xtrabackup", "mariabackup",
"mysqld", "server", MYSQL_BASE_VERSION,
"mariadb", MARIADB_BASE_VERSION,
"client-server",
#ifdef WITH_WSREP
"galera",
#endif
0, 0, 0
};
{code}
https://github.com/MariaDB/server/blob/mariadb-10.4.11/extra/mariabackup/xtrabackup.cc#L1570
Since MDEV-17591 , MariaDB has installed {{mariadb-backup}} as an alias for {{mariabackup}}. See here:
https://github.com/MariaDB/server/blob/mariadb-10.4.11/cmake/symlinks.cmake#L15
Similar aliases are installed for other commands. For example, {{mariadb-binlog}} is installed as an alias for {{mysqlbinlog}}. As part of this change, the {{mysqlbinlog}} utility now reads options from the {{[mariadb-binlog]}} option group as well. From {{client/mysqlbinlog.cc}}:
{code}
static const char *load_groups[]=
{ "mysqlbinlog", "mariadb-binlog", "client", "client-server", "client-mariadb",
0 };
{code}
https://github.com/MariaDB/server/blob/mariadb-10.4.11/client/mysqlbinlog.cc#L96
However, {{mariabackup}} does not yet read from the {{mariadb-backup}} option group. From {{extra/mariabackup/xtrabackup.cc}}:
{code}
static const char *xb_client_default_groups[]={
"xtrabackup", "mariabackup",
"client", "client-server",
"client-mariadb",
0, 0, 0
};
static const char *xb_server_default_groups[]={
"xtrabackup", "mariabackup",
"mysqld", "server", MYSQL_BASE_VERSION,
"mariadb", MARIADB_BASE_VERSION,
"client-server",
#ifdef WITH_WSREP
"galera",
#endif
0, 0, 0
};
{code}
https://github.com/MariaDB/server/blob/mariadb-10.4.11/extra/mariabackup/xtrabackup.cc#L1570
Also see the documentation:
https://mariadb.com/kb/en/library/mariabackup-overview/#server-option-groups
https://mariadb.com/kb/en/library/mariabackup-overview/#client-option-groups
Julien Fritsch
made changes -
2020-05-28 09:07
Assignee
Rasmus Johansson
[ ratzpo
]
Vladislav Lesin
[ vlad.lesin
]
Vladislav Lesin
made changes -
2020-06-09 11:57
Status
Open
[ 1
]
In Progress
[ 3
]
Vladislav Lesin
made changes -
2020-06-14 10:44
Fix Version/s
10.5.4
[ 24264
]
Fix Version/s
10.4.14
[ 24305
]
Fix Version/s
10.4
[ 22408
]
Fix Version/s
10.5
[ 23123
]
Resolution
Fixed
[ 1
]
Status
In Progress
[ 3
]
Closed
[ 6
]
Sergei Golubchik
made changes -
2021-12-06 21:50
Workflow
MariaDB v3
[ 101839
]
MariaDB v4
[ 157094
]
{"report":{"fcp":1585.7999997138977,"ttfb":385,"pageVisibility":"visible","entityId":81122,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"a1ea905f-46f7-4424-ad87-e773e3009c20","navigationType":0,"readyForUser":1702.2999997138977,"redirectCount":0,"resourceLoadedEnd":1249.6999998092651,"resourceLoadedStart":412,"resourceTiming":[{"duration":162.19999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":412,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":412,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":574.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":162.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":412.2999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":412.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":574.7999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":560.9000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":412.5,"connectEnd":412.5,"connectStart":412.5,"domainLookupEnd":412.5,"domainLookupStart":412.5,"fetchStart":412.5,"redirectEnd":0,"redirectStart":0,"requestStart":581.4000000953674,"responseEnd":973.4000000953674,"responseStart":607.9000000953674,"secureConnectionStart":412.5},{"duration":837,"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":412.69999980926514,"connectEnd":412.69999980926514,"connectStart":412.69999980926514,"domainLookupEnd":412.69999980926514,"domainLookupStart":412.69999980926514,"fetchStart":412.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":580.5999999046326,"responseEnd":1249.6999998092651,"responseStart":604.6999998092651,"secureConnectionStart":412.69999980926514},{"duration":210.7999997138977,"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":412.90000009536743,"connectEnd":412.90000009536743,"connectStart":412.90000009536743,"domainLookupEnd":412.90000009536743,"domainLookupStart":412.90000009536743,"fetchStart":412.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":581.7999997138977,"responseEnd":623.6999998092651,"responseStart":615,"secureConnectionStart":412.90000009536743},{"duration":226.7999997138977,"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":413,"connectEnd":413,"connectStart":413,"domainLookupEnd":413,"domainLookupStart":413,"fetchStart":413,"redirectEnd":0,"redirectStart":0,"requestStart":593.0999999046326,"responseEnd":639.7999997138977,"responseStart":633.5999999046326,"secureConnectionStart":413},{"duration":228.40000009536743,"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":413.19999980926514,"connectEnd":413.19999980926514,"connectStart":413.19999980926514,"domainLookupEnd":413.19999980926514,"domainLookupStart":413.19999980926514,"fetchStart":413.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":593.4000000953674,"responseEnd":641.5999999046326,"responseStart":634.1999998092651,"secureConnectionStart":413.19999980926514},{"duration":169,"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":413.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":413.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":582.5,"responseStart":0,"secureConnectionStart":0},{"duration":231.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":413.59999990463257,"connectEnd":413.59999990463257,"connectStart":413.59999990463257,"domainLookupEnd":413.59999990463257,"domainLookupStart":413.59999990463257,"fetchStart":413.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":593.9000000953674,"responseEnd":644.9000000953674,"responseStart":635.5,"secureConnectionStart":413.59999990463257},{"duration":176.7000002861023,"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":413.7999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":413.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":590.5,"responseStart":0,"secureConnectionStart":0},{"duration":236.40000009536743,"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":414,"connectEnd":414,"connectStart":414,"domainLookupEnd":414,"domainLookupStart":414,"fetchStart":414,"redirectEnd":0,"redirectStart":0,"requestStart":594.0999999046326,"responseEnd":650.4000000953674,"responseStart":636.6999998092651,"secureConnectionStart":414},{"duration":778.1000003814697,"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":457.2999997138977,"connectEnd":457.2999997138977,"connectStart":457.2999997138977,"domainLookupEnd":457.2999997138977,"domainLookupStart":457.2999997138977,"fetchStart":457.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":911.1999998092651,"responseEnd":1235.4000000953674,"responseStart":1191.1999998092651,"secureConnectionStart":457.2999997138977},{"duration":779.9000000953674,"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":457.7999997138977,"connectEnd":457.7999997138977,"connectStart":457.7999997138977,"domainLookupEnd":457.7999997138977,"domainLookupStart":457.7999997138977,"fetchStart":457.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":1028,"responseEnd":1237.6999998092651,"responseStart":1233.1999998092651,"secureConnectionStart":457.7999997138977},{"duration":195.80000019073486,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1135.2999997138977,"connectEnd":1135.2999997138977,"connectStart":1135.2999997138977,"domainLookupEnd":1135.2999997138977,"domainLookupStart":1135.2999997138977,"fetchStart":1135.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":1235.5999999046326,"responseEnd":1331.0999999046326,"responseStart":1312.1999998092651,"secureConnectionStart":1135.2999997138977}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":70,"responseStart":385,"responseEnd":480,"domLoading":396,"domInteractive":1857,"domContentLoadedEventStart":1857,"domContentLoadedEventEnd":1941,"domComplete":2586,"loadEventStart":2586,"loadEventEnd":2587,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1771.5999999046326},{"name":"bigPipe.sidebar-id.end","time":1772.4000000953674},{"name":"bigPipe.activity-panel-pipe-id.start","time":1772.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.end","time":1777.9000000953674},{"name":"activityTabFullyLoaded","time":1960.4000000953674}],"measures":[],"correlationId":"a0538e1fad2a5f","effectiveType":"4g","downlink":9.8,"rtt":0,"serverDuration":164,"dbReadsTimeInMs":31,"dbConnsTimeInMs":42,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
The same code is changed during the work on
MDEV-18215, so the fix onMDEV-21301can be joined withMDEV-18215fix.