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

Zookeeper python client cannot work with go client when using lock #548

Closed
yangyadi1993 opened this issue Dec 19, 2018 · 1 comment
Closed
Labels

Comments

@yangyadi1993
Copy link

We are using zookeeper Go client and Python client in different pod in kubernetes but using the same zookeeper infrastructure. Two pods are trying to use a lock with the same path. But the znode created by Python and Go have very different prefix and thus I think zookeeper somehow failed to figure out which is smaller so the lock was not implemented correctly.

As the result, they cannot lock each other and work properly.

_c_38553bd6d1d57f710ae70ddcc3d24715-lock-0000000000 # Go lock
da5719988c244fc793f49ec3aa29b566__lock__0000000003 # Python lock

Is there anything I could do to get Go client working with Python client?

@StephenSorriaux
Copy link
Member

Fixed by #599

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants