You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Song Ziyang (Jira)" <ji...@apache.org> on 2022/08/12 02:20:00 UTC

[jira] [Created] (RATIS-1670) Timeout directly during startup

Song Ziyang created RATIS-1670:
----------------------------------

             Summary: Timeout directly during startup
                 Key: RATIS-1670
                 URL: https://issues.apache.org/jira/browse/RATIS-1670
             Project: Ratis
          Issue Type: Improvement
            Reporter: Song Ziyang
             Fix For: 2.4.0


ElectionTimeout determines the average waiting time when a new RaftGroup initially startup. In practice, IoTDB sets ElectionTimeout = (6s-12s) to reduce elections cause by leader GC or other time-consuming activities. However, this means a newly started raft group usually has to wait for about 10s before its first successful write, which is annoying.

It is possible for RaftGroup to timeout immediately when initially starts up. Or can we manually timeout a member?



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