diff --git a/playbooks/roles/galera_server/defaults/main.yml b/playbooks/roles/galera_server/defaults/main.yml index d75578f774..06858bddbb 100644 --- a/playbooks/roles/galera_server/defaults/main.yml +++ b/playbooks/roles/galera_server/defaults/main.yml @@ -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' diff --git a/playbooks/roles/galera_server/templates/cluster.cnf.j2 b/playbooks/roles/galera_server/templates/cluster.cnf.j2 index a27838618b..8ac0f46ccf 100644 --- a/playbooks/roles/galera_server/templates/cluster.cnf.j2 +++ b/playbooks/roles/galera_server/templates/cluster.cnf.j2 @@ -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 }}