Skip to content
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

ZookeeperWatcher: @watcher.unsubscribe hangs on ruby 2.2 #134

Closed
lsjostro opened this issue Aug 14, 2015 · 2 comments
Closed

ZookeeperWatcher: @watcher.unsubscribe hangs on ruby 2.2 #134

lsjostro opened this issue Aug 14, 2015 · 2 comments

Comments

@lsjostro
Copy link

I found when using ruby 2.2 the watcher doesn't seems to be able to unsubscribe a node. it just hangs here when a node changes:
https://github.com/airbnb/synapse/blob/master/lib/synapse/service_watcher/zookeeper.rb#L87

It's probably a bug with the zk library in combination with ruby 2.2. Seems to work great when using 1.9.3 though.

@jolynch
Copy link
Collaborator

jolynch commented Aug 31, 2015

It appears that the zk library just started running tests on 2.2, and they are currently failing. I am going to close this until the underlying zookeeper library at least claims to work on 2.2.

For now I encourage you to use an older ruby version, and when zk supports 2.2. please do open another issue or comment on this one and I'll take another look.

https://travis-ci.org/zk-ruby/zk

@jolynch
Copy link
Collaborator

jolynch commented Oct 4, 2015

Should be fixed by #138, please let me know if it's not.

@jolynch jolynch closed this as completed Oct 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants