Open
Description
Today TransportNodesStatsAction
will reach out to the master to retrieve allocation stats for every node in the cluster, and then discards any stats which do not relate to the nodes targetted by the stats request. We could slim this down massively so that e.g. GET _nodes/_local/stats
only computes the allocation stats for the handling node in the first place.