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

SplitShard does not handle not finding a shard leader well.

    XMLWordPrintableJSON

Details

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

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

              Dates

                Created:
                Updated:
                Resolved: