Semantics of ConnectionLoss exception

2009-03-25 Thread Nitay
I'm a little unclear about the ConnectionLoss exception as it's described in the FAQ and would like some clarification. From the state diagram, http://wiki.apache.org/hadoop/ZooKeeper/FAQ#1, there are three events that cause a ConnectionLoss: 1) In Connecting state, call close(). 2) In Connected

Re: Semantics of ConnectionLoss exception

2009-03-25 Thread Mahadev Konar
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

Incorrect implementation of QuorumCnxManager.haveDelivered()?

2009-03-25 Thread rag...@yahoo.com
Hello, I am a ZooKeeper newbie, so pardon me if I am repeating questions that have been raised before. I believe the implementation of QuorumCnxManager.haveDelivered() is incorrect. If I understand correctly, queueSendMap contains a queue of messages for each peer to which the local peer is

Re: Semantics of ConnectionLoss exception

2009-03-25 Thread Patrick Hunt
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