Re: Too many connections

2010-10-06 Thread Patrick Hunt
On Tue, Oct 5, 2010 at 10:23 AM, Avinash Lakshman < avinash.laksh...@gmail.com> wrote: > So shouldn't all servers in another DC just have one session? So even if I > have 50 observers in another DC that should be 50 sessions established > since > the IP doesn't change correct? Am I missing somethi

Re: znode inconsistencies across ZooKeeper servers

2010-10-06 Thread Patrick Hunt
Vishal the attachment seems to be getting removed by the list daemon (I don't have it), can you create a JIRA and attach? Also this is a good question for the ppl on zookeeper-user. (ccing) You are aware that ephemeral znodes are tied to the session? And that sessions only expire after the session

Re: znode inconsistencies across ZooKeeper servers

2010-10-06 Thread Vishal K
Hi Patrick, You are correct, the test restarts both ZooKeeper server and the client. The client opens a new connection after restarting. So we would expect that the ephmeral znode (/foo) to expire after the session timeout. However, the client with the new session creates the ephemeral znode (/foo

snapshots

2010-10-06 Thread Avinash Lakshman
Hi All Are snapshots serialized dumps of the DataTree taken whenever a log rolls over? So when a server goes down and comes back up does it construct the data tree from the snapshots? What if I am running this on a machine with SSD as extended RAM how does it affect anything? Cheers A

Changing configuration

2010-10-06 Thread Avinash Lakshman
Suppose I have a 3 node ZK cluster composed of machines A, B and C. Now for whatever reason I lose C forever and the machine needs to be replaced. How do I handle this situation? Update the config with D in place of C and restart the cluster? Also if I am interested in read just the ZAB portions wh

Re: Changing configuration

2010-10-06 Thread Milind Parikh
r...@m -- Milind On Wed, Oct 6, 2010 at 9:49 PM, Avinash Lakshman wrote: > Suppose I have a 3 node ZK cluster composed of machines A, B and C. Now for > whatever reason I lose C forever and the machine needs to be replaced. How > do I handle this situation? Update the config with D in place of