Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8075

Leader Initiated Recovery should not stop a leader that participated in an election with all of it's replicas from becoming a valid leader.

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently, because of SOLR-8069, all the replicas in a shard can be put into LIR.

      If you restart such a shard, the valid leader will will win the election and sync with the shard and then be blocked from registering as ACTIVE because it is in LIR.

      I think that is a little wonky because I don't think it even tries another candidate because the leader that cannot publish ACTIVE does not have it's election canceled.

      While SOLR-8069 should prevent this situation, we should add logic to allow a leader that can sync with it's full shard to become leader and publish ACTIVE regardless of LIR.

        Attachments

        1. SOLR-8075.patch
          8 kB
          Mark Miller
        2. SOLR-8075.patch
          8 kB
          Mark Miller
        3. SOLR-8075.patch
          5 kB
          Mark Miller
        4. SOLR-8075.patch
          8 kB
          Mark Miller
        5. SOLR-8075.patch
          7 kB
          Mark Miller
        6. SOLR-8075.patch
          7 kB
          Mark Miller
        7. SOLR-8075.patch
          3 kB
          Mark Miller

        Issue Links

          Activity

            People

            • Assignee:
              markrmiller@gmail.com Mark Miller
              Reporter:
              markrmiller@gmail.com Mark Miller

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment