Closed
Description
Describe the bug
I have observed that the LeaderAwareResourceWatcher
looses and never regains leadership after network issues.
To reproduce
LeaderAwareResourceWatcher.StartAsync()
- Wait for
LeaderAwareResourceWatcher
to be connected - Create network issue (e.g. reset_peer with toxiproxy)
This instance stopped leading, stopping watcher.
will be logged- Resolve network issue
This instance started leading, starting watcher.
is not logged again
Expected behavior
This instance started leading, starting watcher.
should be logged after network issue is resolved.
Screenshots
No response
Additional Context
Version: 8.0.0-pre.29