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

Fix the client.add_auth hangs by xids mismatch. #400

Merged
merged 1 commit into from
May 31, 2017

Conversation

tonyseek
Copy link
Contributor

@tonyseek tonyseek commented Jul 29, 2016

This commit fixes #229 by throwing the runtime exception into the dequeued async_result. It will end the waiting of user threading.

But this commit doesn't fix the xids mismatch itself (#254). The unordered xids may caused by a bug from the ZooKeeper server side, such as the official issues ZOOKEEPER-1863 described.

This commit fixes python-zk#229 by throwing
the runtime exception into the dequeued async_result. It will end the waiting
of user threading.

But this commit doesn't fix the xids mismatch itself. The unordered xids may
caused by a bug from the ZooKeeper server side, such as the official issues
https://issues.apache.org/jira/browse/ZOOKEEPER-1863 described.
@tonyseek
Copy link
Contributor Author

@bbangert Could you review this patch?

CC @wooparadog

@bbangert
Copy link
Member

Looks good, nice test too!

@bbangert bbangert merged commit c85969a into python-zk:master May 31, 2017
@tonyseek tonyseek deleted the hotfix/xid-mismatch branch June 9, 2017 04:49
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

Successfully merging this pull request may close these issues.

Deadlock in Kazoo 2.0 w/ add_auth() and retry().
2 participants