Mark Miller created SOLR-5644:
---------------------------------

             Summary: SplitShard does not handle not finding a shard leader 
well.
                 Key: SOLR-5644
                 URL: https://issues.apache.org/jira/browse/SOLR-5644
             Project: Solr
          Issue Type: Bug
          Components: SolrCloud
            Reporter: Mark Miller
            Priority: Minor
             Fix For: 5.0, 4.7


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.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to