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

Query Frontend: queries with negative offset should check whether it is cacheable or not #5719

Merged
merged 1 commit into from
Dec 28, 2023

Conversation

pawarpranav83
Copy link
Contributor

@pawarpranav83 pawarpranav83 commented Dec 26, 2023

What this PR does:

Checks whether offset is negative or not, and if negative, it does not cache the query result.

Which issue(s) this PR fixes:

Fixes #5678

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@pawarpranav83
Copy link
Contributor Author

@yeya24

@yeya24
Copy link
Contributor

yeya24 commented Dec 27, 2023

@pawarpranav83 Thanks. Same comment as thanos-io/thanos#7011

@pawarpranav83 pawarpranav83 force-pushed the master branch 2 times, most recently from e310a35 to 79bb956 Compare December 27, 2023 13:15
Copy link
Contributor

@yeya24 yeya24 left a comment

Choose a reason for hiding this comment

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

Thanks

CHANGELOG.md Outdated Show resolved Hide resolved
Signed-off-by: pawarpranav83 <pawarpranav@gmail.com>
@yeya24 yeya24 merged commit 53fa64d into cortexproject:master Dec 28, 2023
14 checks passed
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.

Query Frontend: queries with negative offset should check whether it is cacheable or not
2 participants