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

   ## What changes were proposed in this pull request?
   
   Yield leader to higher priority peer by TransferLeadership.
   To avoid blocking client requests for a long time,
   it will only start TransferLeadership when the higher priority peer is 
up-to-date.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/RATIS-1770
   
   ## How was this patch tested?
   
   Covered by `LeaderElectionTests#testYieldLeaderToHigherPriority()`.
   


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