From d138e0715b906d857db596329b635872ca68710a Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Thu, 12 Apr 2018 17:04:53 +0200 Subject: [PATCH] Allways run galera_new_cluster on the leader during reconfigure --- posttemplate/25-bdd-cluster | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/posttemplate/25-bdd-cluster b/posttemplate/25-bdd-cluster index 3d676da..7387d73 100755 --- a/posttemplate/25-bdd-cluster +++ b/posttemplate/25-bdd-cluster @@ -9,10 +9,7 @@ if [[ ${db} == "oui" ]] then if [[ ${cluster} == "oui" ]] then - if [[ ! -e ${gstateFile} ]] - then - [[ ${role} == "Leader" ]] && galera_new_cluster - fi + [[ ${role} == "Leader" ]] && galera_new_cluster fi fi