Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clientv3: close open watch channel if substream is closing on reconnect
If substream is closing but outc is still open while reconnecting, then outc would only be closed once the watch client would connect or once the watch client is closed. This was leading to deadlocks in the proxy tests. Instead, close immediately if the context is canceled. Fixes #7503
- Loading branch information