Skip to content

add TTL configuration for index cache items in memcached and redis - #7932

Open
SungJin1212 wants to merge 2 commits into
cortexproject:masterfrom
SungJin1212:expose-index-cache-ttl
Open

SungJin1212 wants to merge 2 commits into
cortexproject:masterfrom
SungJin1212:expose-index-cache-ttl

Conversation

@SungJin1212

Copy link
Copy Markdown
Member

Add -blocks-storage.bucket-store.index-cache.memcached.ttl and -blocks-storage.bucket-store.index-cache.redis.ttl to configure how long an index cache item is kept in the memcached and redis index cache backends. Both default to 24h, the TTL that was previously hardcoded, and 0 also falls back to 24h.

Which issue(s) this PR fixes:
Fixes #

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

@SungJin1212
SungJin1212 requested a review from a team as a code owner November 13, 2026 06:38
@SungJin1212
SungJin1212 requested a review from yeya24 November 13, 2026 06:38
@SungJin1212
SungJin1212 force-pushed the expose-index-cache-ttl branch from 1ee74af to e28b039 Compare November 13, 2026 06:39
Signed-off-by: Sungjin1212 <[email protected]>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant