Skip to content

Add querier.ingester-query-max-attempts to retry on partial data. #6714

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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

justinjung04
Copy link
Contributor

@justinjung04 justinjung04 commented Apr 22, 2025

What this PR does:
In #6526, new configs query_partial_data and rules_partial_data were added which allows tenants to receive 2xx with a warning message when the data accuracy is relatively high in zone-aware setting.

This PR adds retry logic in querier getting data from ingesters, retrying the requests if the response is partial data. The new configuration, querier.ingester-query-max-attempts, allows ingester queries to be retried. Default is set to 1.

Which issue(s) this PR fixes:
n/a

Checklist

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

Signed-off-by: Justin Jung <[email protected]>
Signed-off-by: Justin Jung <[email protected]>
@justinjung04 justinjung04 changed the title Make partial data responses to be retryable Add querier.ingester-query-max-attempts to retry on partial data. Apr 22, 2025
Signed-off-by: Justin Jung <[email protected]>
Signed-off-by: Justin Jung <[email protected]>
Signed-off-by: Justin Jung <[email protected]>
Signed-off-by: Justin Jung <[email protected]>
@justinjung04 justinjung04 marked this pull request as ready for review April 22, 2025 06:03
Copy link
Contributor

@danielblando danielblando left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants