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

Enforce /api/v1/series API query length check at Querier #6018

Merged
merged 2 commits into from
Jun 26, 2024

Conversation

yeya24
Copy link
Contributor

@yeya24 yeya24 commented Jun 14, 2024

What this PR does:

Even though ignoreMaxQueryLength is set to true to disable max query length check at Querier, we still want to enforce it for /api/v1/series API. Because there is not a dedicated GetSeries tripperware in Query Frontend. So when ignoreMaxQueryLength set to false, there is no protection for /api/v1/series API.

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: Ben Ye <[email protected]>
@alanprot
Copy link
Member

Thanks!

@yeya24 yeya24 merged commit e47ad33 into cortexproject:master Jun 26, 2024
16 checks passed
@yeya24 yeya24 mentioned this pull request Jun 26, 2024
3 tasks
@yeya24 yeya24 deleted the enforce-series-length-check branch August 27, 2024 08:48
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