In the Raft consensus algorithm, a follower grants its vote to a candidate only if the candidate’s log is at least as up-to-date as the follower’s own log. Up-to-date is defined by comparing the index and term of the last entries in the logs. First, the follower compares the terms of the last log entries. If the ca....
Log in to view the answer