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

Handle failures from zookeeper_interest() #39

Open
eric opened this issue Apr 15, 2013 · 0 comments
Open

Handle failures from zookeeper_interest() #39

eric opened this issue Apr 15, 2013 · 0 comments

Comments

@eric
Copy link
Member

eric commented Apr 15, 2013

I started to notice these log messages happening in my logs from time to time:

[ERROR] (zkrb.c:834: errno: Bad file descriptor) select returned: -1

at a rate of hundreds per second.

In attempting to diagnose the problem, I deployed this additional error checking and found that it looks like we aren't handling failures from zookeeper_interest() properly.

When I ran the patch, I got this exception:

ext/c_zookeeper.rb:262:in `zkrb_iterate_event_loop': zookeeper_interest failed: -7: operation timeout (RuntimeError)

I'm not sure what the impact of having zookeeper_interest return ZOPERATIONTIMEOUT is, but it seems to me that it wouldn't be good.

I'm still investigating the correct behavior when we get a failure from zookeeper_interest().

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