This commit is contained in:
voltron committed 2023-05-01 21:36:35 -05:00
1 parent 4b60dfa8b3
commit 94360cbde0
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -412,8 +412,7 @@ STATUS(){
echo -e "${idsST[Bold]}"; DIVIDER
echo -e "${idsCL[Yellow]} Replication Status Between the Primary and Secondary Nodes${idsCL[Default]}"
DIVIDER; echo -e "${idsST[Reset]}"
msg="Starting processes to collect/monitor replication status : "
echo -e " ${idsCL[LightCyan]}${msg}${spc}: "
echo -en " ${idsCL[LightCyan]}Starting processes to collect/monitor replication status : "
fi
for NTYPE in "${NODE_TYPES[@]}"; do
PH=${NTYPE}_HOSTS[0]
@@ -467,6 +466,7 @@ STATUS(){
elif [ -f ${TMPFOLDER}/repl.${rcheck}.${nip}.timeout ]; then
checked=timeout
fi
rm -f ${TMPFOLDER}/repl.${rcheck}.${nip}.*
done
if [ "${checked}" == "timeout" ]; then
[ "${ST_ACTION}" != "check" ] && echo -e "${idsCL[Red]}Timeout${idsCL[Default]}"