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

View File

@ -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