runzhiwang opened a new pull request #376:
URL: https://github.com/apache/incubator-ratis/pull/376


   ## What changes were proposed in this pull request?
   
   Leader send TimeoutNow request to higher priority peer
   
   For example, there are 3 servers, server1 with priority 1 and is leader, 
server2 with priority 2 and is follower. 
   If server1 find server2's log catch up, server1 send TimeoutNowRequest to 
server2, and server2 become candidate and ask for vote, most case only server2 
is candidate, so server2 can win the election directly. Compared to server1 
stepDown to follower, and some server wait timeout and become candidate, 
TimeoutNowRequest can save the election time.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/RATIS-1266
   
   ## How was this patch tested?
   
   no need new ut.
   


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to