Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12011 Consistence problem when in-sync replicas are DOWN
  3. SOLR-12051

Election timeout when no replicas are qualified to become leader

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.3, 8.0
    • None
    • None

    Description

      After SOLR-12011 get committed, we can lead into the case when no active replicas are qualified to become the leader. The only 2 solutions for users in this case are

      • Using FORCE_LEADER API
      • Bring back the old leader

      This ticket will introduce a leader election timeout so current active replicas can ignore the lost updates and go ahead to become the leader. I think it will be better and not confuse users by reusing leaderVoteWait (the current usage of leaderVoteWait for waiting replicas come up before leader election is no longer needed)

      Attachments

        1. SOLR-12051.patch
          41 kB
          Cao Manh Dat

        Activity

          People

            caomanhdat Cao Manh Dat
            caomanhdat Cao Manh Dat
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: