You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Megan Carey (Jira)" <ji...@apache.org> on 2021/01/22 00:20:00 UTC

[jira] [Created] (SOLR-15099) Add null check on core info variables in IndexSizeTrigger

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-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org