Skip to content
Snippets Groups Projects
Commit 6f05b0ce authored by Vladislav Shpilevoy's avatar Vladislav Shpilevoy
Browse files

raft: track all votes, even not own

To detect split vote a node needs to see that number of free votes
is not enough for anyone to win even if it gets them all.

Hence every node needs to count votes for all other nodes.

The patch makes raft store votes in a bit more complicated manner
than a simple bitmap for just the current instance.

Part of #5285
parent e51c61ae
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment