[ 
https://issues.apache.org/jira/browse/SOLR-12444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Varun Thacker updated SOLR-12444:
---------------------------------
    Environment:     (was: If I create a policy like this
{code:java}
curl -X POST -H 'Content-type:application/json' --data-binary '{
"set-cluster-policy": [
{"cores": "<4","node": "#ANY"}
]
}' http://localhost:8983/solr/admin/autoscaling{code}
Then I can never update this policy subsequently .

To reproduce try changing the policy to 
{code:java}
curl -X POST -H 'Content-type:application/json' --data-binary '{
"set-cluster-policy": [
{"cores": "<3","node": "#ANY"}
]
}' http://localhost:8983/solr/admin/autoscaling{code}
The policy will never change. The workaround is to clear the policy by sending 
an empty array and then re-creating it )

> Updating a cluster policy fails
> -------------------------------
>
>                 Key: SOLR-12444
>                 URL: https://issues.apache.org/jira/browse/SOLR-12444
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: AutoScaling
>            Reporter: Varun Thacker
>            Priority: Major
>




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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to