-
Notifications
You must be signed in to change notification settings - Fork 24.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GET _cat/shards?local and GET _cat/indices?local are not completely local #60718
Comments
Pinging @elastic/es-core-features (:Core/Features/CAT APIs) |
Do _cat/indices?local have the same behavior? |
Yes, |
May I work on this one? Any hints are appreciated. |
Sure, go ahead. See #50088 for a good example of deprecating and removing a REST parameter like this. |
The local parameters have been deprecated in 7.x and removed for 8.x. |
The cat shards and cat indices APIs perform a
ClusterStateAction
then aIndicesStatsAction
. They accept the?local
parameter and passes this to theClusterStateAction
but this parameter has no effect on theIndicesStatsAction
. This is surprising, becauseGET _cat/shards?local
andGET _cat/indices?local
look like they might be completely local calls but in fact they still depend on every data node in the cluster.I think the
?local
parameter does not make sense on these APIs and we should remove it.Relates #50088 which is the same issue for
GET _cat/nodes
.The text was updated successfully, but these errors were encountered: