You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Varun Thacker (JIRA)" <ji...@apache.org> on 2018/06/07 19:25:00 UTC

[jira] [Created] (SOLR-12466) Autoscaling properties does not revert back to default when set to null

Varun Thacker created SOLR-12466:
------------------------------------

             Summary: Autoscaling properties does not revert back to default when set to null
                 Key: SOLR-12466
                 URL: https://issues.apache.org/jira/browse/SOLR-12466
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: AutoScaling
            Reporter: Varun Thacker


1. By default the metrics get queried every 1 second

2. Now I change it to 5 second via this API and this works
{code:java}
curl -X POST -H 'Content-type:application/json' --data-binary '{ "set-properties": { "triggerScheduleDelaySeconds": 1 } }' http://localhost:8983/solr/admin/autoscaling{code}
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 
{code:java}
curl -X POST -H 'Content-type:application/json' --data-binary '{ "set-properties": { "triggerScheduleDelaySeconds": null } }' http://localhost:8983/solr/admin/autoscaling{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org