kaijchen opened a new pull request, #858:
URL: https://github.com/apache/ratis/pull/858

   ## What changes were proposed in this pull request?
   
   Currently, it is possible for a leader at term x to send StartLeaderElection 
twice to a follower, making the follower become term x + 2.
   
   We can make StartLeaderElection idempotent by including a term in 
StartLeaderElectionRequest. And the handler should ignore the 
StartLeaderElectionRequest from lower term.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/RATIS-1818
   
   ## How was this patch tested?
   
   TODO.


-- 
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]

Reply via email to