summaryrefslogtreecommitdiff
path: root/sql/wsrep_sst.h
diff options
context:
space:
mode:
authorJulius Goryavsky <sysprg@gmail.com>2018-12-06 14:36:57 +0100
committerJulius Goryavsky <sysprg@gmail.com>2018-12-17 11:14:54 +0100
commitcadb6ac770d818d1ed14aa1c2b84647619900935 (patch)
tree4696955e345412b3f9867daf3873f9a3ae1fa400 /sql/wsrep_sst.h
parentb6f203984bc519a31ac695cbcb6de7f1f638d321 (diff)
downloadmariadb-git-cadb6ac770d818d1ed14aa1c2b84647619900935.tar.gz
DEV-17835: Remove wsrep-sst-method=xtrabackup
The use of the xtrabackup and xtrabackup-v2 methods for SST has been declared obsolete since version 10.2, now it cannot be used because of the different redo log format. Accordingly, we need to remove the xtrabackup-related scripts and dynamically replace the call to xtrabackup[-v2] to the mariabackup (with a corresponding warning in the log) when the server performs SST. https://jira.mariadb.org/browse/MDEV-17835
Diffstat (limited to 'sql/wsrep_sst.h')
-rw-r--r--sql/wsrep_sst.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/wsrep_sst.h b/sql/wsrep_sst.h
index cc0f1f5389d..29724a00797 100644
--- a/sql/wsrep_sst.h
+++ b/sql/wsrep_sst.h
@@ -49,6 +49,9 @@
#define WSREP_SST_MYSQLDUMP "mysqldump"
#define WSREP_SST_RSYNC "rsync"
#define WSREP_SST_SKIP "skip"
+#define WSREP_SST_MARIABACKUP "mariabackup"
+#define WSREP_SST_XTRABACKUP "xtrabackup"
+#define WSREP_SST_XTRABACKUPV2 "xtrabackupv2"
#define WSREP_SST_DEFAULT WSREP_SST_RSYNC
#define WSREP_SST_ADDRESS_AUTO "AUTO"
#define WSREP_SST_AUTH_MASK "********"