Skip to content

TransportNodesStatsAction should only get allocation stats for the requested nodes #123252

Open
@DaveCTurner

Description

@DaveCTurner

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Distributed Coordination/AllocationAll issues relating to the decision making around placing a shard (both master logic & on the nodes)>bugTeam:Distributed CoordinationMeta label for Distributed Coordination team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions