Skip to content

retry chunk pool exhaustion error in querier, not in query frontend #5569

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

Merged
merged 3 commits into from
Sep 22, 2023

Conversation

yeya24
Copy link
Contributor

@yeya24 yeya24 commented Sep 17, 2023

What this PR does:
Supercedes #5562.

Retry chunk pool exhaustion error at querier only, don't retry it at query frontend.

The idea is that when a request got chunk pool exhaustion error, retrying the whole query at query frontend is more expensive than retrying at querier as querier only retries a single request so few blocks.

If the request still failed after 3 retries at querier, then we don't have to retry at query frontend again as the fleets might already overloaded.

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]

@yeya24 yeya24 force-pushed the no-retry-chunk-error branch from b51e1a4 to 795379f Compare September 20, 2023 08:30
@yeya24 yeya24 force-pushed the no-retry-chunk-error branch 2 times, most recently from bec4d67 to 1ca8284 Compare September 21, 2023 07:22
Signed-off-by: Ben Ye <[email protected]>

fix e2e test

Signed-off-by: Ben Ye <[email protected]>
@yeya24 yeya24 force-pushed the no-retry-chunk-error branch from 1ca8284 to 85603c1 Compare September 21, 2023 07:43
@yeya24 yeya24 merged commit 179c0d6 into cortexproject:master Sep 22, 2023
@yeya24 yeya24 deleted the no-retry-chunk-error branch September 22, 2023 20:40
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.

3 participants