[ 
https://issues.apache.org/jira/browse/RATIS-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17571568#comment-17571568
 ] 

Tsz-wo Sze commented on RATIS-1638:
-----------------------------------

[~liuyaolong], it is a good idea to have a separated timeout value for the 
first leader election.  It should speed up the initial setup time.

> Ignore the first timeout and initiate an election directly
> ----------------------------------------------------------
>
>                 Key: RATIS-1638
>                 URL: https://issues.apache.org/jira/browse/RATIS-1638
>             Project: Ratis
>          Issue Type: New Feature
>            Reporter: Yaolong Liu
>            Priority: Major
>
> We use Alluxio to call Ratis's service, and found that if the election 
> expiration time is set too small, leader switching is easy to occur when full 
> gc occurs, but if the election expiration time is set longer, then when the 
> service is started for the first time It takes a long time to initiate an 
> election. This waiting time is not what we want to see. Can we complete a 
> feature to make the timeout for the first startup shorter, which can reduce 
> the service unavailability time. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to