Dealing with session expired

2009-02-12 Thread Tom Nichols
I've come across the situation where a ZK instance will have an expired connection and therefore all operations fail. Now AFAIK the only way to recover is to create a new ZK instance with the old session ID, correct? Now, my problem is, the ZK instance may be shared -- not between threads --

Re: Dealing with session expired

2009-02-12 Thread Tom Nichols
mahadev On 2/12/09 10:58 AM, Tom Nichols tmnich...@gmail.com wrote: I've come across the situation where a ZK instance will have an expired connection and therefore all operations fail. Now AFAIK the only way to recover is to create a new ZK instance with the old session ID, correct? Now, my