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

SplitShard does not handle not finding a shard leader well.

    Details

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

      Description

      In OverseerCollectionProcessor:

      // find the leader for the shard
      Replica parentShardLeader = clusterState.getLeader(collectionName, slice);

      This returns null if there is no current leader and the following code does not deal with that case and instead NPE's.

        Attachments

        1. SOLR-5644.patch
          2 kB
          Anshum Gupta
        2. SOLR-5644.patch
          2 kB
          Anshum Gupta

          Issue Links

            Activity

              People

              • Assignee:
                shalinmangar Shalin Shekhar Mangar
                Reporter:
                markrmiller@gmail.com Mark Miller
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: