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" ]]
|
if [[ ${db} == "oui" ]]
|
||||||
then
|
then
|
||||||
if [[ ${cluster} == "oui" ]]
|
if [[ ${cluster} == "oui" ]]
|
||||||
then
|
|
||||||
if [[ ! -e ${gstateFile} ]]
|
|
||||||
then
|
then
|
||||||
[[ ${role} == "Leader" ]] && galera_new_cluster
|
[[ ${role} == "Leader" ]] && galera_new_cluster
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
exit 0
|
exit 0
|
Loading…
Reference in New Issue