Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-21298

mariabackup doesn't read from the [mariadbd] and [mariadbd-X.Y] server option groups from configuration files

    XMLWordPrintable

    Details

      Description

      Since MDEV-17591, MariaDB has had additional server option groups: [mariadbd] and [mariadbd-X.Y]. mariabackup doesn't currently read those server option groups yet.

      For example, compare include/mysqld_default_groups.h:

      const char *load_default_groups[]= {
      "mysqld", "server", MYSQL_BASE_VERSION,
      "mariadb", MARIADB_BASE_VERSION,
      "mariadbd", MARIADBD_BASE_VERSION,
      "client-server",
      #ifdef WITH_WSREP
      "galera",
      #endif
      0, 0};
      

      https://github.com/MariaDB/server/blob/mariadb-10.4.11/include/mysqld_default_groups.h

      And extra/mariabackup/xtrabackup.cc:

      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#L1577

      Also see the documentation:

      https://mariadb.com/kb/en/library/configuring-mariadb-with-option-files/#server-option-groups

      https://mariadb.com/kb/en/library/mariabackup-overview/#server-option-groups

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vlad.lesin Vladislav Lesin
              Reporter:
              GeoffMontee Geoff Montee
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: