Solr
  1. Solr
  2. SOLR-6189

If the node hosting a replica is not "live", then leader-initiated recovery may publish the "down" state more than once.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.10
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      In ZkController#ensureReplicaInLeaderInitiatedRecovery, the leader will publish the "down" state for a replica more than once if the node is not live. This is inefficient and can cause too many state change events to occur, one is sufficient.

        Issue Links

          Activity

          Hide
          ASF subversion and git services added a comment -

          Commit 1605134 from Timothy Potter in branch 'dev/trunk'
          [ https://svn.apache.org/r1605134 ]

          SOLR-6189: Don't publish the state as down if the node is not live when determining if a replica should be in leader-initiated recovery.

          Show
          ASF subversion and git services added a comment - Commit 1605134 from Timothy Potter in branch 'dev/trunk' [ https://svn.apache.org/r1605134 ] SOLR-6189 : Don't publish the state as down if the node is not live when determining if a replica should be in leader-initiated recovery.
          Hide
          ASF subversion and git services added a comment -

          Commit 1605136 from Timothy Potter in branch 'dev/branches/branch_4x'
          [ https://svn.apache.org/r1605136 ]

          SOLR-6189: Don't publish the state as down if the node is not live when determining if a replica should be in leader-initiated recovery.

          Show
          ASF subversion and git services added a comment - Commit 1605136 from Timothy Potter in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1605136 ] SOLR-6189 : Don't publish the state as down if the node is not live when determining if a replica should be in leader-initiated recovery.
          Hide
          Timothy Potter added a comment -

          Simple solution to avoid publishing the down state for a replica if it's node is not live.

          Show
          Timothy Potter added a comment - Simple solution to avoid publishing the down state for a replica if it's node is not live.

            People

            • Assignee:
              Timothy Potter
              Reporter:
              Timothy Potter
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development