Solr
  1. Solr
  2. SOLR-3940

Rejoining the leader election incorrectly triggers the code path for a fresh cluster start rather than fail over.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1, 6.0
    • Component/s: SolrCloud
    • Labels:

      Description

      A rejoin may happen when a node decides it may not be the best leader candidate.

      This means that in certain fail over situations, the new leader election may wait until a timeout expires before proceeding - instead, there should be no wait because the we should not expect that the leader that went down is coming back anytime soon.

        Issue Links

          Activity

          Hide
          Mark Miller added a comment -

          Committed with SOLR-3939

          Show
          Mark Miller added a comment - Committed with SOLR-3939
          Hide
          Commit Tag Bot added a comment -

          [branch_4x commit] Mark Robert Miller
          http://svn.apache.org/viewvc?view=revision&revision=1397672

          SOLR-3939: Consider a sync attempt from leader to replica that fails due to 404 a success.
          SOLR-3940: Rejoining the leader election incorrectly triggers the code path for a fresh cluster start rather than fail over.

          Show
          Commit Tag Bot added a comment - [branch_4x commit] Mark Robert Miller http://svn.apache.org/viewvc?view=revision&revision=1397672 SOLR-3939 : Consider a sync attempt from leader to replica that fails due to 404 a success. SOLR-3940 : Rejoining the leader election incorrectly triggers the code path for a fresh cluster start rather than fail over.
          Hide
          Yee added a comment -

          this seems happened in solr5.2.1

          Show
          Yee added a comment - this seems happened in solr5.2.1

            People

            • Assignee:
              Mark Miller
              Reporter:
              Mark Miller
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development