Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper >> mail # user >> Testing expired sessions bug?


Copy link to this message
-
Re: Testing expired sessions bug?
Yes, it watches the bogus node but it also blocks until the second ZK instance successfully connects. I found that both of these things are necessary for reliable session killing.

-JZ

On Aug 21, 2012, at 2:30 PM, Ben Bangert <[EMAIL PROTECTED]>
 wrote:

> Ah, perhaps I'm misreading the Java code. It looks like it operates in the FAQ manner except it adds a watch for a non-existent node so that it can register a watcher for when it gets the next event... which is *assumed* to be a session being lost.