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

metaclient - Exception while reading an entry that has listener subscribed #2554

Closed
xyuanlu opened this issue Jul 11, 2023 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@xyuanlu
Copy link
Contributor

xyuanlu commented Jul 11, 2023

Describe the bug

ZkClient tries to resubscribe one time watcher when reading an entry that has listener subscribed. In metaclient use case, we do not need to resubscribe as we are using persist watcher.

To Reproduce

subscribe listener to an entry
read the entry

  • get exception for subscribe one time watcher on a node that already have persist watcher.

Expected behavior

exception should be thrown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant