Aaron McCurry created BLUR-86:
---------------------------------

             Summary: ZooKeeperClient class in blur-util sessionTimeout issue
                 Key: BLUR-86
                 URL: https://issues.apache.org/jira/browse/BLUR-86
             Project: Apache Blur
          Issue Type: Bug
    Affects Versions: 0.1.5
            Reporter: Aaron McCurry
             Fix For: 0.1.5


During an initial connection of the ZooKeeperClient if the first server listed 
in the connection string is not available then the sessionTimeout (which is 
negotiated upon connection) is 0.  This causes the auto retry to fail on in the 
ZooKeeperClient.  The solution is to capture in the constructors the 
sessionTimeout and set to an internal field.  Then during the execute method 
(inside the auto retry logic) if the getSessionTimeout() returns 0 use the 
sessionTimeout captured in the constructor.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to