incubator-blur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron McCurry (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (BLUR-86) ZooKeeperClient class in blur-util sessionTimeout issue
Date Thu, 16 May 2013 20:47:16 GMT

     [ https://issues.apache.org/jira/browse/BLUR-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aaron McCurry closed BLUR-86.
-----------------------------

    Resolution: Fixed

https://git-wip-us.apache.org/repos/asf?p=incubator-blur.git;a=commit;h=a1a0eaefc6dea9d926bdcf64838842a70d5b1fca
                
> 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

Mime
View raw message