xyuanlu commented on code in PR #2486:
URL: https://github.com/apache/helix/pull/2486#discussion_r1194342800


##########
zookeeper-api/src/main/java/org/apache/helix/zookeeper/zkclient/ZkClient.java:
##########
@@ -1968,7 +1968,7 @@ public <T> T retryUntilConnected(final Callable<T> 
callable)
     if (_monitor != null) {
       _monitor.increaseOutstandingRequestGauge();
     }
-    int retryCount = 1;
+    int retryCount = 0;

Review Comment:
   Thanks for working on the fix! 
   Changing retryCount does it mean we start retry immediately after we get 
error? 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to