Andrzej Bialecki created SOLR-14948: ---------------------------------------
Summary: 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 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 and 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