Templateize and change Galera SST method

Per the bug we need to be using xtrabackup-v2 for the wsrep_sst_method.  This
patch creates an galera_sst_method variable and defaults it to xtrabackup-v2.

Change-Id: Iee88b49e84e3a8aaf477af45b4a42a4a2c31634e
Closes-Bug: 1478105
(cherry picked from commit 6f170025e6)
This commit is contained in:
Dave Wilde 2015-07-27 10:42:15 -05:00 committed by Jesse Pretorius
parent c75e3775a2
commit 78d1bb6110
2 changed files with 4 additions and 1 deletions

View File

@ -49,6 +49,9 @@ galera_wsrep_debug: 0
galera_wsrep_provider_options:
- { option: "gcache.size", value: "{{ galera_gcache_size }}" }
## sst method
galera_sst_method: xtrabackup-v2
# Galera GPG Keys
galera_gpg_keys:
- key_name: 'mariadb'

View File

@ -34,7 +34,7 @@ wsrep_node_name = {{ galera_wsrep_node_name }}
wsrep_debug = {{ galera_wsrep_debug }}
# SST method
wsrep_sst_method = xtrabackup
wsrep_sst_method = {{ galera_sst_method }}
wsrep_sst_auth = root:{{ galera_root_password }}
wsrep_slave_threads = {{ galera_wsrep_slave_threads }}