mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-29 18:03:32 -04:00
The cat nodes API performs a `ClusterStateAction` then a `NodesInfoAction`. Today it accepts the `?local` parameter and passes this to the `ClusterStateAction` but this parameter has no effect on the `NodesInfoAction`. This is surprising, because `GET _cat/nodes?local` looks like it might be a completely local call but in fact it still depends on every node in the cluster. This parameter was deprecated in 7.x in #50499 and this commit removes it. Relates #50088
19 lines
719 B
Text
19 lines
719 B
Text
[float]
|
|
[[breaking_80_api_changes]]
|
|
=== REST API changes
|
|
|
|
//NOTE: The notable-breaking-changes tagged regions are re-used in the
|
|
//Installation and Upgrade Guide
|
|
//tag::notable-breaking-changes[]
|
|
|
|
// end::notable-breaking-changes[]
|
|
|
|
[float]
|
|
==== Deprecated `?local` parameter removed from `GET _cat/nodes` API
|
|
|
|
The `?local` parameter to the `GET _cat/nodes` API was deprecated in 7.x and is
|
|
rejected in 8.0. This parameter caused the API to use the local cluster state
|
|
to determine the nodes returned by the API rather than the cluster state from
|
|
the master, but this API requests information from each selected node
|
|
regardless of the `?local` parameter which means this API does not run in a
|
|
fully node-local fashion.
|