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

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.3, 8.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: