Allways run galera_new_cluster on the leader during reconfigure
This commit is contained in:
parent
1cb8566c7b
commit
d138e0715b
|
@ -8,12 +8,9 @@ gstateFile="/var/lib/mysql/grastate.dat"
|
|||
if [[ ${db} == "oui" ]]
|
||||
then
|
||||
if [[ ${cluster} == "oui" ]]
|
||||
then
|
||||
if [[ ! -e ${gstateFile} ]]
|
||||
then
|
||||
[[ ${role} == "Leader" ]] && galera_new_cluster
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue