Re: Simpler ZooKeeper event interface....

2009-01-09 Thread Thomas Vinod Johnson
In the case of an active leader, L continues to send commands (whatever) to the followers. However a new leader L' has since been elected and is also sending commands to the followers. In this case it seems like either a) L should not send commands if it's not sync'd to the ensemble (and

Re: What happens when a server loses all its state?

2008-12-16 Thread Thomas Vinod Johnson
/ZooKeeper(2f)ZooKeeperPresent ations/attachments/zk-talk-upc.pdf mahadev On 12/16/08 9:45 AM, Thomas Vinod Johnson thomas.john...@sun.com wrote: What is the expected behavior if a server in a ZooKeeper service restarts with all its prior state lost? Empirically, everything seems to work

NullPointerException stopping and starting Zookeeper servers

2008-12-08 Thread Thomas Vinod Johnson
Hi, I have a replicated zookeeper services consisting of 3 zookeeper (3.0.1) servers all running on the same host for testing purposes. I've created exactly one znode in this ensemble. At this point, I stop, then restart a single zookeeper server; moving onto the next one a few seconds later.