Skip to content

[Feature Request] Unset discoveryNodes object from BaseNodeRequest sent over Transport #17008

Open
@SwethaGuptha

Description

@SwethaGuptha

Is your feature request related to a problem? Please describe

As highlighted in #14749, passing the discovery nodes over transport between nodes for any TransportNodesAction is a costly operation. As part of #15131, initialization of discovery nodes object was made conditional based on the extending action. With this change in opensearch project, discovery nodes information is now not sent over transport for all actions extending TransportNodesAction nodes except for TransportNodesReloadSecureSettingsAction.

With the new major version release we can introduce a breaking change to unset the discovery nodes object in BaseNodesRequest when sending request over transport to individual nodes and any action requiring this information should handle this as part of it's own action request instead of relying on the base request.

Describe the solution you'd like

Unset the discovery nodes from BaseNodesRequest when sending request over transport to individual nodes.

Related component

Cluster Manager

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    >breakingIdentifies a breaking change.Cluster ManagerenhancementEnhancement or improvement to existing feature or requestv3.0.0Issues and PRs related to version 3.0.0

    Type

    No type

    Projects

    • Status

      🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions