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

Candidate does not transition to follower on leader election timeout

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • None
    • None

    Description

      When leader election times out, candidate should change to follower so that it can restart leader election process. New leader election is started when server transitions from follower to candidate. If server remains in candidate state, new leader election will not be started.

      In TestStateMachineShutdownWithGrpc, it was seen that all the servers see leader election timeout and remain in CANDIDATE state. Therefore new leader is never elected.

      Attachments

        Activity

          People

            ljain Lokesh Jain
            ljain Lokesh Jain
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: