chuchao333 commented on a change in pull request #357: [CURATOR-525] Fix for 
Zombie LOST Curator
URL: https://github.com/apache/curator/pull/357#discussion_r401328380
 
 

 ##########
 File path: 
curator-framework/src/main/java/org/apache/curator/framework/state/ConnectionStateManager.java
 ##########
 @@ -319,8 +319,18 @@ else if ( currentConnectionState == ConnectionState.LOST )
         {
             try
             {
-                // give ConnectionState.checkTimeouts() a chance to run, reset 
ensemble providers, etc.
-                client.getZookeeperClient().getZooKeeper();
+                if ( client.getZookeeperClient().isConnected() )
 
 Review comment:
   LGTM now, thanks for the fix.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to