Megan Carey created SOLR-15099:
----------------------------------

             Summary: Add null check on core info variables in IndexSizeTrigger
                 Key: SOLR-15099
                 URL: https://issues.apache.org/jira/browse/SOLR-15099
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
          Components: AutoScaling
    Affects Versions: 8.7
            Reporter: Megan Carey


A minor fix, but we've seen NPEs from IndexSizeTrigger when ZK is restarted 
since it's unable to fetch the core info. All we need is a null check. 

In the patch I'll also update a string value: 
https://github.com/apache/lucene-solr/blob/branch_8x/solr/core/src/java/org/apache/solr/cloud/autoscaling/IndexSizeTrigger.java#L339

And might add a log to report index size when splits are enqueued :)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to