-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
callbacks are not retained after a zookeper restart #4
Comments
if a zookeeper client loses its session, then all watches expire and the user of the client is responsible for re-registering them. same as the C client semantics. |
that's strange...
It just doesn't make sense to set all the watches again, actually I would expect transparent handling as long as the zookeeper ensemble is partially up. Found something here:
Seems, like you're right :) Thx for speedy feedback! |
Setup:
client code:
changing node '/test' in one irb console fires the callback for both clients
restarting a zookeeper server:
after a restart of one zookeeper server the cease to fire...
the gist with irb output with debugging is here:
https://gist.github.com/807539
The text was updated successfully, but these errors were encountered: