Skip to content
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

Changed default value of -blocks-storage.bucket-store.sync-interval from 5m to 15m #3724

Merged
merged 2 commits into from Jan 21, 2021

Conversation

pracucci
Copy link
Contributor

What this PR does:
While rolling out the bucket index in our cluster we've realised the default value of -blocks-storage.bucket-store.sync-interval (5m) doesn't play nicely with the consistency check. The consistency check gives a grace period for blocks recently uploaded (and potentially not yet discovered by store-gateway) which is equal to 3x the sync-interval (so 15m by default). Considering a default caching TTL for the bucket index of 5m, there may be edge cases where the querier is including a recently uploaded block in the consistency check but the store-gateway hasn't loaded it yet.

To fix the default config, in this PR I'm proposing to increase the default value of sync-interval from 5m to 15m (which also look a better default value anyway).

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]

…orm 5m to 15m

Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Copy link
Contributor

@pstibrany pstibrany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@pracucci pracucci merged commit fdc1bb2 into cortexproject:master Jan 21, 2021
@pracucci pracucci deleted the change-default-sync-interval branch January 21, 2021 13:19
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.

None yet

2 participants