Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
8.6.3
-
None
-
None
Description
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.