elastic / elasticsearch

Free and Open Source, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
69.65k stars 24.65k forks source link

`GET _cat/allocation` omits nodes that do not report stats #92116

Open DaveCTurner opened 1 year ago

DaveCTurner commented 1 year ago

GET _cat/allocation gives a useful overview of the shard allocation of a cluster. However today it silently omits nodes which do not respond to the node stats request, perhaps because they were partitioned from the coordinating node or they rejected the stats request with a circuit-breaking exception. This limits its usefulness when trying to diagnose a struggling cluster.

We cannot report the disk.* values for nodes omitted in the stats, but we can at least report the other fields because they can be derived from the cluster state, which this API already requests.

elasticsearchmachine commented 1 year ago

Pinging @elastic/es-data-management (Team:Data Management)