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

Remove split-queries-by-interval validation #5125

Merged
merged 1 commit into from
Jan 13, 2022

Conversation

sasagarw
Copy link

@sasagarw sasagarw commented Jan 13, 2022

What this PR does / why we need it:

  • Removes split-queries-by-interval validation when query_range.cache-results is enabled.
  • This issue was introduced by Move querier.split-queries-by-interval to a per-tenant configuration #5023.
  • This causes the loki components to always stay in error state. The error on the pods would be:
    level=error ts=2022-01-10T16:54:10.516711991Z caller=main.go:51 msg="validating config" err="invalid queryrange config: querier.cache-results may only be enabled in conjunction with querier.split-queries-by-interval. Please set the latter"

Special notes for your reviewer:

Checklist

  • Documentation added
  • Tests updated
  • Add an entry in the CHANGELOG.md about the changes.

@sasagarw sasagarw requested a review from a team as a code owner January 13, 2022 05:46
Copy link
Contributor

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

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

Not sure if this is needed since we merged #5087 but since the fork it won't hurt.

@cyriltovena cyriltovena merged commit 7ff1b45 into grafana:main Jan 13, 2022
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.

2 participants