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: [email protected]
For additional commands, e-mail: [email protected]