Skip to content
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

Newly appeared node claims power #4

Open
2 tasks
fx-adr opened this issue Mar 2, 2021 · 0 comments
Open
2 tasks

Newly appeared node claims power #4

fx-adr opened this issue Mar 2, 2021 · 0 comments
Assignees

Comments

@fx-adr
Copy link
Collaborator

fx-adr commented Mar 2, 2021

Currently when a new node comes online it calls an election and wins even if the existing leader is online.

  • current leader should be saved in the Redis db so newly online nodes can find it
  • newly online nodes should check to see if the leader is online before calling an election
@fx-adr fx-adr self-assigned this Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant