Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-1670

Timeout directly during startup

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • 2.4.0
    • None
    • None

    Description

      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?

      Attachments

        Activity

          People

            William Song Song Ziyang
            William Song Song Ziyang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: