remove node wait in HA mode

这个提交包含在:
Emmanuel Garette 2019-03-01 12:07:16 +01:00
父节点 94a498aef6
当前提交 89128ccba5
共有 1 个文件被更改,包括 6 次插入5 次删除

查看文件

@ -201,7 +201,6 @@ for host in ${HAPY_SLV}; do
EchoVert " * Enregistrement du noeud"
register_node ${host}
# wait_node_ok ${host}
if [[ ${HAPY_HA} == "oui" ]]
then
if [[ $DBMODE == "sqlite" ]]
@ -213,10 +212,12 @@ for host in ${HAPY_SLV}; do
fi
fi
sync_nodes
wait_node_ok ${HAPY_SLV[${i}]}
if [[ ${?} -ne 0 ]]
then
EchoRouge "Erreur lors de l'enregistrement du noeud ${HAPY_SLV[${i}]} !"
if [[ ${HAPY_HA} != "oui" ]]
wait_node_ok ${HAPY_SLV[${i}]}
if [[ ${?} -ne 0 ]]
then
EchoRouge "Erreur lors de l'enregistrement du noeud ${HAPY_SLV[${i}]} !"
fi
fi
done