zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordan Zimmerman <jzimmer...@netflix.com>
Subject Re: Testing expired sessions bug?
Date Tue, 21 Aug 2012 21:43:18 GMT
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 <ben@groovie.org>
 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.

Mime
View raw message