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
For paginated _list/indices and _list/shards APIs, if their corresponding strategies don't output any entities, the indicesToBeQueried gets set to empty and any subsequent IndicesStatsTransport action ends up fetching stats for all the indices. This defeats the purpose of pagination to avoid fetching stats for all the indices at once.
Related component
Cluster Manager
To Reproduce
Query _list/indices API with a wildcard pattern which doesn't match any index. PaginationStrategy would not output any index to be fetched but notice IndicesStats call being made for all the indices in the cluster.
Expected behavior
Request IndicesStats only for the required set of indices.
Additional Details
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
For paginated
_list/indices
and_list/shards
APIs, if their corresponding strategies don't output any entities, theindicesToBeQueried
gets set to empty and any subsequentIndicesStatsTransport
action ends up fetching stats for all the indices. This defeats the purpose of pagination to avoid fetching stats for all the indices at once.Related component
Cluster Manager
To Reproduce
Query
_list/indices
API with a wildcard pattern which doesn't match any index.PaginationStrategy
would not output any index to be fetched but notice IndicesStats call being made for all the indices in the cluster.Expected behavior
Request IndicesStats only for the required set of indices.
Additional Details
No response
The text was updated successfully, but these errors were encountered: