Skip to content

Disable bucket index cache if TTL is 0#7446

Open
Wassup789 wants to merge 2 commits intocortexproject:masterfrom
Wassup789:disable-bucket-index-cache
Open

Disable bucket index cache if TTL is 0#7446
Wassup789 wants to merge 2 commits intocortexproject:masterfrom
Wassup789:disable-bucket-index-cache

Conversation

@Wassup789
Copy link
Copy Markdown

What this PR does:

When querier / store-gateway have the bucket index TTL set to zero, we are still retrieving the index via the cache.
This PR disables the cache of the bucket index when the TTL is set to zero.

Which issue(s) this PR fixes:
N/A

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]
  • docs/configuration/v1-guarantees.md updated if this PR introduces experimental flags

Signed-off-by: Wilson La <wilsnlaa@amazon.com>
Signed-off-by: Wilson La <wilsnlaa@amazon.com>
@Wassup789 Wassup789 force-pushed the disable-bucket-index-cache branch from 294f936 to 22c26e5 Compare April 22, 2026 20:56
@Wassup789 Wassup789 marked this pull request as ready for review April 22, 2026 21:34
@dosubot dosubot Bot added component/store-gateway type/chore Something that needs to be done; not a bug or a feature labels Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/store-gateway size/S type/chore Something that needs to be done; not a bug or a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant