runzhiwang commented on pull request #383:
URL: https://github.com/apache/incubator-ratis/pull/383#issuecomment-757410153


   > I agree with @GlenGeng that we may not need 
LEADER_LEASE_TIMEOUT_RATIO_KEY. If we take rpc-send-time right before sending 
out appendEntries, it seems pretty safe to use min-rpc-timeout as the 
leader-lease-timeout. If split brain happens, it has to take at least 
(min-rpc-timeout + leader election time) to elect a new leader. Then, the old 
leader lease must be expired by that time.
   
   @szetszwo I agree. There are some failed ut related to this PR, let me fix 
them.


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