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

In case of reconnection, the watcher sometimes will be not work #114

Closed
dante-is-shipping opened this issue Nov 14, 2019 · 2 comments
Closed
Labels

Comments

@dante-is-shipping
Copy link

the stream will receive a WatchResponse with created = true and canceled = true and a cancel_reason "rpc error: code = PermissionDenied desc = etcdserver: permission denied". i find out the reason after review the source code.
image in this case will only trigger the function "this.queue.handleCreate"

@zyf0330
Copy link

zyf0330 commented Dec 14, 2020

So in this case, watcher chooses to throw error but not try to re-watch? @connor4312

@connor4312
Copy link
Member

Correct. Trying to re-watch on an authentication error is not useful.

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

3 participants