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

datadir must be specified in [mysqld] section of configuration file for mariabackup SST

    XMLWordPrintable

Details

    Description

      If datadir is not specified in the [mysqld] section of the MariaDB configuration file, then mariabackup SST attempts will fail on the joiner with errors in innobackup.move.log similar to this:

      170530 12:06:47 innobackupex: Starting the move-back operation
       
      IMPORTANT: Please check that the move-back run completes successfully.
                 At the end of a successful move-back run innobackupex
                 prints "completed OK!".
       
      innobackupex based on MariaDB server 10.1.23-MariaDB Linux (x86_64)
      Error: datadir must be specified.
      

      I believe that this behavior was inherited from the xtrabackup-v2 SST method, but it seems a bit unnecessary and it might be fixable. The server obviously knows its own datadir, so can't it specify the value on the command-line or something like that?

      Attachments

        Issue Links

          Activity

            People

              wlad Vladislav Vaintroub
              GeoffMontee Geoff Montee (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start 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.