Explains on what timeouts mean for a zookeeper client.
A timeout does not mean a closed session. The client will reconnect to
another server and then renew the session. A closed session will make the
zoookeeper handle invalid.
Hope this helps.
Their is more info at
On 4/21/09 12:00 AM, "rag...@yahoo.com" <rag...@yahoo.com> wrote:
> I have a question related how ZK server deals with client timeout. If the
> client loses connectivity with the ZK server (which is still alive), then the
> ZK server will close the client session by issuing a closeSession transaction,
> correct? So even if the client has reestablished the session by connecting to
> another server by now, closeSession transaction will force the session to be
> deleted on all servers. The client will have to reconnect to one of the
> servers again and create a brand new session, right?
> Could you please clarify if the above is correct?