zookeeper ephemeral node expired time not accurate

2011-12-31 Thread
Hi, everyone: I have done some tests and find that the expired time of ephemeral node is not accurate. I set my connection's timeout to be 10s when connecting to zookeeper. Then I create an ephemeral node. I start another application set watch on this ephemeral node. When I close the first

Re: zookeeper ephemeral node expired time not accurate

2011-12-31 Thread
would be justified in expiring the session 5+epsilon seconds after the connection is lost. You can configure heartbeats to occur more often if you want. On Sat, Dec 31, 2011 at 4:32 AM, 朱晨杰 zcj0...@gmail.com wrote: Hi, everyone: I have done some tests and find that the expired time

connection lost

2011-12-18 Thread
Hi, everyone: I'm now using Zookeeper as my service server. There are 3 Zookeeper servers, then I use 3 pc connect to them. On each pc there are 20 processes connect to zookeeper cluster so there are totally 60 connection. I terminate 20 processes on one pc simultaneously, then I find the