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

Calling #loop before any operations hangs, rather than failing #188

Open
mpalmer opened this issue Oct 29, 2014 · 0 comments
Open

Calling #loop before any operations hangs, rather than failing #188

mpalmer opened this issue Oct 29, 2014 · 0 comments

Comments

@mpalmer
Copy link
Contributor

mpalmer commented Oct 29, 2014

The following (Ruby) code hangs reliably:

require 'hyperdex'
c = HyperDex::Client::Client.new('localhost', 1982)
c.loop

I would expect c.loop to raise an exception instead, the same way this code does:

require 'hyperdex'
c = HyperDex::Client::Client.new('localhost', 1982)
c.get(:test, 0)
c.loop

The above examples are in Ruby, because that's the bindings I'm using, but based on my examination of the Ruby bindings code, I can't see any reason why this behaviour should be Ruby-specific, and I expect it'll be broadly reproducible in any language.

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

1 participant