Skip to content

Allow store gateway to ignore syncing blocks older than certain time #6830

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 20, 2025

Conversation

yeya24
Copy link
Contributor

@yeya24 yeya24 commented Jun 19, 2025

What this PR does:

Add ignore_blocks_before config so that Store Gateway won't sync blocks that are too old. This can be useful for tiered Store Gateway deployment. Another use case is when migrating to Parquet based storage, Store Gateway can be gradually scale down so we can use this config to load less blocks.

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]

Signed-off-by: yeya24 <[email protected]>
@yeya24 yeya24 force-pushed the store-gateway-min-time branch from 1e029f7 to b4763c1 Compare June 19, 2025 07:53
@pull-request-size pull-request-size bot added size/M and removed size/S labels Jun 19, 2025
Signed-off-by: yeya24 <[email protected]>
@pull-request-size pull-request-size bot added size/S and removed size/M labels Jun 19, 2025
Signed-off-by: yeya24 <[email protected]>
@pull-request-size pull-request-size bot added size/M and removed size/S labels Jun 19, 2025
@SungJin1212
Copy link
Member

LGTM!

Signed-off-by: yeya24 <[email protected]>
@pull-request-size pull-request-size bot added size/L and removed size/M labels Jun 20, 2025
@yeya24 yeya24 merged commit 6dbc78c into cortexproject:master Jun 20, 2025
31 of 32 checks passed
@yeya24 yeya24 deleted the store-gateway-min-time branch June 20, 2025 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants