Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.4.11, 10.5.0
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:
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
Attachments
Issue Links
- causes
-
MDEV-22894 Mariabackup should not read [mariadb-client] option group from configuration files
-
- Closed
-
- is caused by
-
MDEV-17591 Create MariaDB named commands
-
- Closed
-
- relates to
-
MDEV-14746 mariabackup doesn't read [mariabackup] option group in configuration file
-
- Closed
-
-
MDEV-18215 mariabackup does not report unknown command line options
-
- Closed
-
-
MDEV-18347 mariabackup doesn't read all server option groups from configuration files
-
- Closed
-
-
MDEV-21298 mariabackup doesn't read from the [mariadbd] and [mariadbd-X.Y] server option groups from configuration files
-
- Closed
-
-
MDEV-21303 Make executables MariaDB named
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue is caused by |
Link |
This issue relates to |
Link |
This issue relates to |
Link |
This issue relates to |
Description |
Since 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 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 |
Link |
This issue relates to |
Assignee | Vladislav Lesin [ vlad.lesin ] | Rasmus Johansson [ ratzpo ] |
Assignee | Rasmus Johansson [ ratzpo ] | Vladislav Lesin [ vlad.lesin ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Link |
This issue relates to |
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 ] |
Link |
This issue causes |
Workflow | MariaDB v3 [ 101839 ] | MariaDB v4 [ 157094 ] |
Link | This issue relates to MENT-1461 [ MENT-1461 ] |