Skip to content

Conversation

harry671003
Copy link
Contributor

@harry671003 harry671003 commented May 29, 2025

What this PR does:
Currently runtime errors (e.g., nil pointer dereference, index out of range) in the read path, can crash ingesters causing a wide spread availablity drop.
Such errors should be handled gracefully to prevent ingesters from crashing.

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]

@harry671003 harry671003 changed the title Handle runtime errors in ingester Ingester: Handle runtime errors in query path May 29, 2025
@harry671003 harry671003 force-pushed the handle_panic branch 2 times, most recently from d60dfe0 to aca9e10 Compare May 29, 2025 21:21
Copy link
Contributor

@yeya24 yeya24 left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Contributor

@justinjung04 justinjung04 left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you

Signed-off-by: 🌲 Harry 🌊 John 🏔 <[email protected]>
@yeya24 yeya24 merged commit 89d3895 into cortexproject:master May 30, 2025
16 of 17 checks passed
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.

4 participants