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

Song Ziyang commented on RATIS-1638:
------------------------------------

[~szetszwo] [~liuyaolong] I've submitted a PR for this, please take a look, 
thanks!

> 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
>            Assignee: Song Ziyang
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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