Details
-
Task
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
None
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
- duplicates
-
MDEV-34856 Galera Cluster upgrade from 11.0 to 11.1 fails, eventually leads to crash
-
- Closed
-
- relates to
-
MDEV-18931 Rename Mariabackup's xtrabackup_* files to mariadb_backup_*
-
- Closed
-
Do I assume correctly that there is currently no way to upgrade a Galera Cluser 11.0 to 11.1 by using mariadb-backup because the donor sends The file "xtrabackup_galera_info" while the joiner expects "mariadb_backup_galera_info"?