[ 
https://issues.apache.org/jira/browse/RATIS-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yaolong Liu updated RATIS-1638:
-------------------------------
    Description: 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. 

> 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