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

Autoscaling properties does not revert back to default when set to null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • AutoScaling
    • None

    Description

      1. By default the metrics get queried every 1 second

      2. Now I change it to 5 second via this API and this works

      curl -X POST -H 'Content-type:application/json' --data-binary '{ "set-properties": { "triggerScheduleDelaySeconds": 1 } }' http://localhost:8983/solr/admin/autoscaling

      3. I want to change it back to the default, so I applied null but that didn't work ( the metrics is still getting queried at 5 second interval and not 1 second).  Explicitly setting it to 1 works 

      curl -X POST -H 'Content-type:application/json' --data-binary '{ "set-properties": { "triggerScheduleDelaySeconds": null } }' http://localhost:8983/solr/admin/autoscaling

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              varun Varun Thacker
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: