szetszwo commented on pull request #500: URL: https://github.com/apache/ratis/pull/500#issuecomment-921404110
According to the RAFT algorithm, the leader should step down when it sees a higher term. In requestVote(..), the leader recognizes a candidate only if the candidate has a higher term. Therefore, the leader should change to follower even if it will reject the vote from the candidate. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
