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/26 00:31:00 UTC

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

     [ https://issues.apache.org/jira/browse/SOLR-15099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Megan Carey updated SOLR-15099:
-------------------------------
    Labels: easyfix patch-available  (was: easyfix)

> 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
>            Priority: Minor
>              Labels: easyfix, patch-available
>
> 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