its own ephemeral nodes
for 15 seconds.
ben
From: Nitay [nit...@gmail.com]
Sent: Thursday, March 26, 2009 12:09 PM
To: zookeeper-user@hadoop.apache.org
Subject: Re: Semantics of ConnectionLoss exception
Why is it done that way? How am I supposed to reliably
The problem is that we cannot differentiate between the servers being down
and a network problem from the client to servers.
If the servers are down and we expire the session for a client on the client
side -- the servers would come up and would still have the session as valid
(though it will be e
Why is it done that way? How am I supposed to reliably detect that my
ephemeral nodes are gone? Why not deliver the Session Expired event on the
client side after the right time has passed without communication to any
server?
On Thu, Mar 26, 2009 at 10:58 AM, Mahadev Konar wrote:
> >
> > Isn't it
>
> Isn't it the case that the client won't get session expired until it's
> able to connect to a server, right? So what might happen is that the
> client loses connection to the server, the server eventually expires the
> client and deletes ephemerals (notifying all watchers) but the client
> won
Mahadev Konar wrote:
Hi Nitay,
>
- Does this event happening mean my ephemeral nodes will go away?
No. the client will try connecting to other servers and if its not able to
reconnect to the servers within the remaining session timeout.
If the client is not able to connect within the remaini
Hi Nitay,
>
> - Does this event happening mean my ephemeral nodes will go away?
No. the client will try connecting to other servers and if its not able to
reconnect to the servers within the remaining session timeout.
If the client is not able to connect within the remaining session timeout,
the