Re: InterruptedException in PathChildrenCache

2014-07-15 Thread Jordan Zimmerman
I’d consider that a bug. Any Curator recipe should shut down correctly. Open an issue with a test case. -JZ On July 15, 2014 at 8:41:14 PM, Corey Nolet (cjno...@gmail.com) wrote: I'm using a leaderSelector and path children cache together. During a shutdown method, I'm getting an InterruptedEx

InterruptedException in PathChildrenCache

2014-07-15 Thread Corey Nolet
I'm using a leaderSelector and path children cache together. During a shutdown method, I'm getting an InterruptedException and i'm having trouble figuring out a graceful way to handle it. java.lang.InterruptedException at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(

Curator connection states

2014-07-15 Thread Benjamin Jaton
Hello, When I have a 3 nodes ZooKeeper ensemble with 2 down and my read-only flag is set on the curator client, here is what I see: // initial connection: ZOOKEEPER state change: CONNECTEDREADONLY CURATOR state change: CONNECTED // a second node comes up ZOOKEEPER state change: CONNECTED CURATOR