kaijchen commented on PR #807:
URL: https://github.com/apache/ratis/pull/807#issuecomment-1385430203

   > A small question. Current transferLeadership implementation will abort if 
it doesn't succeed for a random election timeout. Can we add a param to let the 
caller decide the excepted timeout for transferLeadership? We can control the 
stop-write duration through this param, whether to wait definitely or 
indefinitely, etc.
   
   Thanks for your suggestion. The old priority based TransferLeadership allows 
a user specified timeout.
   I will preserve this behavior. If the timeout is not set, it will default to 
a random election timeout. Otherwise, the user specified timeout will be used.


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