mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
Remove cluster state from /_cluster/reroute
response (#114231)
Including the cluster state in responses to the `POST _cluster/state` API was deprecated in #90399 (v8.6.0) requiring callers to pass `?metric=none` to avoid the deprecation warning. This commit adjusts the behaviour as promised in v9 so that this API never returns the cluster state, and deprecates the `?metric` parameter itself. Closes #88978
This commit is contained in:
parent
40bddafd92
commit
07c3acf1c0
16 changed files with 138 additions and 41 deletions
|
@ -95,7 +95,7 @@ Changing allocation id V8QXk-QXSZinZMT-NvEq4w to tjm9Ve6uTBewVFAlfUMWjA
|
|||
|
||||
You should run the following command to allocate this shard:
|
||||
|
||||
POST /_cluster/reroute?metric=none
|
||||
POST /_cluster/reroute
|
||||
{
|
||||
"commands" : [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue