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

ZkController.ensureReplicaInLeaderInitiatedRecovery puts replica in local map before writing to ZK

    Details

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

      Description

      ZkController.ensureReplicaInLeaderInitiatedRecovery puts replica information in the local "replicasInLeaderInitiatedRecovery" map before writing to ZK. If there is an exception writing to ZK then the replica is still in the local map preventing future indexing failures from setting the replica in "down" state.

        Attachments

        1. SOLR-6721.patch
          2 kB
          Shalin Shekhar Mangar

          Activity

            People

            • Assignee:
              shalinmangar Shalin Shekhar Mangar
              Reporter:
              shalinmangar Shalin Shekhar Mangar
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: