opensearch-project/query-insights

[FEATURE] Cache the cluster state request for query insights reader

Aperta

#351 aperta il 4 giu 2025

 (4 commenti) (0 reazioni) (0 assegnatari)Java (34 fork)auto 404
enhancementgood first issue

Metriche repository

Star
 (27 stelle)
Metriche merge PR
 (Merge medio 1g 19h) (16 PR mergiate in 30 g)

Descrizione

Is your feature request related to a problem?

Each time we invoke the reader, we make a request to the cluster state api to fetch all available indices. There are some overhead with this approach.

What solution would you like?

Ideally we should cache the index names and update the cache whenever the cluster state is changed

What alternatives have you considered?

A clear and concise description of any alternative solutions or features you've considered.

Do you have any additional context?

Add any other context or screenshots about the feature request here.

Guida contributor