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

What are vote leader and vote term? #534

Open
fade2black opened this issue Jan 7, 2024 · 2 comments
Open

What are vote leader and vote term? #534

fade2black opened this issue Jan 7, 2024 · 2 comments

Comments

@fade2black
Copy link

fade2black commented Jan 7, 2024

I have come across

  • vote leader and
  • vote term

in this line.

While I understand the basic concepts leader, term and vote, commit index as they are defined in the original Raft paper or explained by the authors on the YouTUbe channels, I've never come across terms like vote leader or vote term.

Do they denote the same thing as simply leader and term or is it something that the implementers of the crate made up? If so, then some explanation should be added to the docs, otherwise It is confusing.

@BusyJay
Copy link
Member

BusyJay commented Jan 8, 2024

It actually means the candidate it votes for and its term.

@fade2black
Copy link
Author

@BusyJay Oh, I see. Got you. Thanks a lot.

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

2 participants