Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-14948

Autoscaling maxComputeOperations override causes exceptions

    XMLWordPrintableJSON

Details

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

      Attachments

        Activity

          People

            ab Andrzej Bialecki
            ab Andrzej Bialecki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: