You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This happens with at least 0.20.4 and 0.90.0.RC2, so I guess it happens on every version.
Is that the desired behaviour? It's just a bit confusing not getting any response and not being sure if the new value was really applied or not(or having to do another request and check if it was applied)
this is the current behaviour but getting a response of the settings that we actually updated would be nice I agree. I think this should return the sub-set of settings that were accepted. Thoughts?
If cluster settings are update the REST API returns the accepted values. For
example, updating the `cluster.routing.allocation.disable_allocation` via
cluster settings:
```curl -XPUT http://localhost:9200/_cluster/settings -d '{
"transient":{
"cluster.routing.allocation.disable_allocation":"true"
}
}'```
will respond:
```{
"persistent":{},
"transient":{
"cluster.routing.allocation.disable_allocation":"true"
}
}```
Closeselastic#2907
This happens with at least 0.20.4 and 0.90.0.RC2, so I guess it happens on every version.
Is that the desired behaviour? It's just a bit confusing not getting any response and not being sure if the new value was really applied or not(or having to do another request and check if it was applied)
Eg:
curl -XPUT http://localhost:9200/_cluster/settings -d '{"transient":{"cluster.routing.allocation.disable_allocation":"true"}}'
The text was updated successfully, but these errors were encountered: