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

Make sure bucket index load failure will not increase if there is context error #6054

Merged
merged 2 commits into from
Jul 3, 2024

Conversation

alexqyle
Copy link
Contributor

@alexqyle alexqyle commented Jul 2, 2024

What this PR does:

Query failure or timeout would cause context got cancelled anytime before loading bucket index. This change should make sure cortex_bucket_index_load_failures_total will not increase if such thing happens.

Which issue(s) this PR fixes:

Checklist

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

@alexqyle alexqyle force-pushed the bucket-index-load-failure branch from a065870 to 299592b Compare July 2, 2024 20:24
@alexqyle alexqyle marked this pull request as ready for review July 2, 2024 21:27
Copy link
Contributor

@harry671003 harry671003 left a comment

Choose a reason for hiding this comment

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

Thanks Alex.

@pull-request-size pull-request-size bot added size/S and removed size/XS labels Jul 3, 2024
Signed-off-by: Alex Le <[email protected]>
@alexqyle alexqyle force-pushed the bucket-index-load-failure branch from 19dd094 to b2ea947 Compare July 3, 2024 00:24
@friedrichg friedrichg changed the title Make sure bucket index load failure will not increase if there is contenxt error Make sure bucket index load failure will not increase if there is context error Jul 3, 2024
@alanprot alanprot merged commit 14dc2c6 into cortexproject:master Jul 3, 2024
16 checks passed
@alexqyle alexqyle deleted the bucket-index-load-failure branch July 17, 2024 17:51
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