Allways run galera_new_cluster on the leader during reconfigure

This commit is contained in:
Philippe Caseiro 2018-04-12 17:04:53 +02:00
parent 1cb8566c7b
commit d138e0715b
1 changed files with 1 additions and 4 deletions

View File

@ -9,10 +9,7 @@ if [[ ${db} == "oui" ]]
then then
if [[ ${cluster} == "oui" ]] if [[ ${cluster} == "oui" ]]
then then
if [[ ! -e ${gstateFile} ]] [[ ${role} == "Leader" ]] && galera_new_cluster
then
[[ ${role} == "Leader" ]] && galera_new_cluster
fi
fi fi
fi fi