[ https://issues.apache.org/jira/browse/SOLR-14948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrzej Bialecki resolved SOLR-14948. ------------------------------------- Resolution: Fixed > Autoscaling maxComputeOperations override causes exceptions > ----------------------------------------------------------- > > Key: SOLR-14948 > URL: https://issues.apache.org/jira/browse/SOLR-14948 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: AutoScaling > Affects Versions: 8.6.3 > Reporter: Andrzej Bialecki > Assignee: Andrzej Bialecki > Priority: Major > > The maximum number of operations to calculate in {{ComputePlanAction}} is > estimated based on the average collection replication factor and the size of > the cluster. > In some cases this estimate may be insufficient, and there's an override > property that can be defined in {{autoscaling.json}} named > {{maxComputeOperations}}. However, the code in {{ComputePlanAction}} makes an > explicit cast to {{Integer}} whereas the value coming from a parsed JSON is > of type {{Long}}. This results in a {{ClassCastException}} being thrown. -- 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