-
Notifications
You must be signed in to change notification settings - Fork 25.8k
GET _cat/shards?local and GET _cat/indices?local are not completely local #60718
Copy link
Copy link
Closed
Labels
:Core/Infra/CAT APIsText APIs behind /_catText APIs behind /_cat>bugTeam:Data Management (obsolete)DO NOT USE. This team no longer exists.DO NOT USE. This team no longer exists.
Description
The cat shards and cat indices APIs perform a ClusterStateAction then a IndicesStatsAction. They accept the ?local parameter and passes this to the ClusterStateAction but this parameter has no effect on the IndicesStatsAction. This is surprising, because GET _cat/shards?local and GET _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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Core/Infra/CAT APIsText APIs behind /_catText APIs behind /_cat>bugTeam:Data Management (obsolete)DO NOT USE. This team no longer exists.DO NOT USE. This team no longer exists.
Type
Fields
Give feedbackNo fields configured for issues without a type.