SzyWilliam opened a new pull request, #863: URL: https://github.com/apache/ratis/pull/863
## What changes were proposed in this pull request? Currently, first election is disabled on `setLeader`. However, it does not cover all scenarios. For example, when a candidate receives `DISCOVERED_A_NEW_TERM` as the response to `PreVote`, it should also disable first election. Therefore, I propose to disable first election on `changeToFollower` ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/RATIS-1822 ## How was this patch tested? Existing unit tests. -- 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]
