Description
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
Labels
Type
Projects
Status
🆕 New