Watcher.Watch() hangs when some endpoints are not available #7247
Closed
Description
Hi, I've experienced a few times that Wathcer.Watch() would hang forever, the hanging happens on the following code:
watcher.Watch(
context.Background(),
key,
clientv3.WithProgressNotify(),
clientv3.WithCreatedNotify(),
)
I'm using the release-3.1 version of clients, is this behavior expected? What is the reason for the hang? The key being watched on is already existing, but I don't think that matters?
My current plan of work around is to add timeout and retry to this call, let me know if you have any concerns with this approach.