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

Adjust wsrep_sst_mariabackup.sh to understand both pre-MDEV-18931 and post-MDEV-18931 file naming

Details

    Description

      The patch for MDEV-18931 introduced a new naming for MariaDB backup files.

      In this task we'll additionally fix wsrep_sst_mariabackup.sh to support SST for multi-version environment, when SST is done from an old (pre-MDEV-18931) node to a new (post-MDEV-18931) node.

      A possible solution (proposed by sysprg and serg) would be to check (before doing the actual job) the backup directory for old files and rename them (if exit) according to the new naming, e.g. like this:

      [ -f "$DATA/xtrabackup_galera_info" ] && mv "$DATA/xtrabackup_galera_info" "$DATA/mariadb_backup_galera_info"
      

      (and similar renames for other essential files).

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Julius Goryavsky made transition -
            Open In Progress
            545d 13h 30m 1
            Julius Goryavsky made transition -
            In Progress In Testing
            1h 46m 1
            Ramesh Sivaraman made transition -
            In Testing Stalled
            3d 23h 30m 1
            Julius Goryavsky made transition -
            Stalled In Progress
            1d 9h 4m 1
            Julius Goryavsky made transition -
            In Progress Closed
            13d 16h 57m 1

            People

              sysprg Julius Goryavsky
              bar Alexander Barkov
              Votes:
              0 Vote for this issue
              Watchers:
              8 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.