You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Cassandra Targett (Jira)" <ji...@apache.org> on 2021/08/14 01:42:00 UTC

[jira] [Resolved] (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 ]

Cassandra Targett resolved SOLR-15099.
--------------------------------------
    Resolution: Won't Fix

The autoscaling framework has been removed in Solr, so we won't do this change.

> 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
>          Components: AutoScaling
>    Affects Versions: 8.7
>            Reporter: Megan Carey
>            Priority: Minor
>              Labels: easyfix, patch-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org