Skip to content

[bug]: LeaderAwareResourceWatcher does not regain leadership after network issues #677

Closed
@PSanetra

Description

@PSanetra

Describe the bug

I have observed that the LeaderAwareResourceWatcher looses and never regains leadership after network issues.

To reproduce

  1. LeaderAwareResourceWatcher.StartAsync()
  2. Wait for LeaderAwareResourceWatcher to be connected
  3. Create network issue (e.g. reset_peer with toxiproxy)
  4. This instance stopped leading, stopping watcher. will be logged
  5. Resolve network issue
  6. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions