You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When granting a vote,we are currently missing the check to see if the candidate's log is
at least as up-to-date as the voter's log. The following condition must be met
in order to grant a vote:
req.lastLogTerm > voter.lastLogTerm ||
(req.lastLogTerm == voter.lastLogTerm &&
req.lastLogIndex >= voter.lastLogIndex)
Thanks to Diego for pointing this out.
The text was updated successfully, but these errors were encountered:
When granting a vote,we are currently missing the check to see if the candidate's log is
at least as up-to-date as the voter's log. The following condition must be met
in order to grant a vote:
req.lastLogTerm > voter.lastLogTerm ||
(req.lastLogTerm == voter.lastLogTerm &&
req.lastLogIndex >= voter.lastLogIndex)
Thanks to Diego for pointing this out.
The text was updated successfully, but these errors were encountered: