You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current approach for generating cluster stats indices incurs significant overhead in large clusters with numerous shards distributed across nodes. This issue arises due to the following steps:
Fetching Shard-Level Stats: Each node fetches a map containing individual shard statistics.
Accumulating on Request Node: The node receiving the REST request (request node) gathers this information from all participating nodes.
Inefficient Data Structures: Creating hash-maps from the StreamInput and iterating through them for accumulation are computationally expensive.
Related component
Other
To Reproduce
In TransportClusterStatsAction, each node is made to return ShardStats map as defined here which is then iterated over in ClusterStatsIndices. This iteration goes through each shard stats entry in each node response.
Expected behavior
The ShardLevel stats should be pre-computed in the data nodes prior to sending it back to the coordinator node.
Additional Details
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
OS: [e.g. iOS]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
The current approach for generating cluster stats indices incurs significant overhead in large clusters with numerous shards distributed across nodes. This issue arises due to the following steps:
Related component
Other
To Reproduce
In TransportClusterStatsAction, each node is made to return ShardStats map as defined here which is then iterated over in ClusterStatsIndices. This iteration goes through each shard stats entry in each node response.
Expected behavior
The ShardLevel stats should be pre-computed in the data nodes prior to sending it back to the coordinator node.
Additional Details
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: