File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,10 @@ DATA_DIR=/data
1818MYID_FILE=$DATA_DIR /myid
1919LOG4J_CONF=/conf/log4j-quiet.properties
2020
21- # Wait for client connections to drain. Kubernetes will wait until the confiugred
21+ # Wait for client connections to drain. Kubernetes will wait until the configured
2222# "terminationGracePeriodSeconds" before focibly killing the container
2323for (( i = 0 ; i < 6 ; i++ )) ; do
24- CONN_COUNT=` echo cons | socat stdio tcp:localhost:$CLIENT_PORT | grep -v " ^$" | grep -v " /127.0.0.1:" | wc -l`
24+ CONN_COUNT=` echo cons | socat stdio tcp:localhost:$CLIENT_PORT | grep -v " ^$" | grep -v -e " /127.0.0.1:" -e " This ZooKeeper instance is not currently serving requests " | wc -l`
2525 if [[ " $CONN_COUNT " -gt 0 ]]; then
2626 echo " $CONN_COUNT non-local connections still connected."
2727 sleep 5
You can’t perform that action at this time.
0 commit comments