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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.10.2
    • 5.0, 6.0
    • SolrCloud
    • 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

            shalin Shalin Shekhar Mangar
            shalin Shalin Shekhar Mangar
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: