You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 22, 2024. It is now read-only.
echo"$(date +%FT%T%Z) [${probe_name}] - There is no session running. Node is ready to be terminated."
@@ -99,7 +105,13 @@ if curl -m ${max_time} -sfk ${SE_SERVER_PROTOCOL}://127.0.0.1:${SE_NODE_PORT}/st
99
105
exit 0
100
106
else
101
107
echo"$(date +%FT%T%Z) [${probe_name}] - Node preStop is waiting for current session on slot ${SLOT_HAS_SESSION} to be finished. Node details: message: $(jq -r '.value.message'${tmp_node_file}||"unknown"), availability: $(jq -r '.value.node.availability'${tmp_node_file}||"unknown")"
102
-
sleep 1;
108
+
sleep 2;
109
+
fi
110
+
111
+
# If the cURL command failed, break the loop
112
+
if [ ${endpoint_status}-ne 0 ] || [ "${endpoint_http_code}"!="200" ];then
113
+
echo"$(date +%FT%T%Z) [${probe_name}] - Node endpoint returned status ${endpoint_http_code:-"exit ${endpoint_status}"}, probably Node draining complete!"
0 commit comments