-
Notifications
You must be signed in to change notification settings - Fork 529
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
Make results cache TTL configurable and settable per tenant #4385
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just a few comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR does what it says, so I'm approving it. However, I have a question about the end-to-end experience to actually solve #4383 with this PR, so I'm going to follow up with a question there.
This PR partially addresses #3832 too. |
5265fd1
to
21d8fec
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for addressing my feedback.
The CHANGELOG has just been cut to prepare for the next Mimir release. Please rebase |
Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
2018fb5
to
a2940a0
Compare
What this PR does
This PR replaces hard-coded 7 days (and 10 minutes for queries within OOO window) TTL for results cache, and makes these values configurable per tenant. This allows us to use lower values for users who want to use backfill feature.
Which issue(s) this PR fixes or relates to
Fixes (partially) #4383
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]