-
Notifications
You must be signed in to change notification settings - Fork 73
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
watch grpc stream stays open after the last watcher is canceled #62
Comments
@connor4312 Anything progress on this? |
I try to replace all |
I'm going to use @godu fork until this issue is resolved in upstream. |
Thanks for raising the issue. Unfortunately it's hard to write a test for this, but I made the changes which'll land in v0.2.10 soon. |
Following my conclusion from #61 I saw that when the last watch is canceled, the gRPC stream on the client side is closed, and a new one is created when a new watch is requested.
Looking at the etcd prometheus metric etcd_debugging_mvcc_watch_stream_total, the watch stream in the server is not closed, and the count is increasing until the client process exit.
This leads to resource leak in the server.
The text was updated successfully, but these errors were encountered: