[ 
https://issues.apache.org/jira/browse/SOLR-14948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17217675#comment-17217675
 ] 

ASF subversion and git services commented on SOLR-14948:
--------------------------------------------------------

Commit d1c30a271ebd2916f1788d1e32569b4580ff8e2b in lucene-solr's branch 
refs/heads/branch_8_6 from Andrzej Bialecki
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=d1c30a2 ]

SOLR-14948: Autoscaling maxComputeOperations override causes exceptions.


> 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
>             Fix For: 8.7
>
>
> 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

Reply via email to