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

Detect incomplete page read and return error #1197

Merged
merged 1 commit into from
Jan 3, 2022

Conversation

mdisibio
Copy link
Contributor

@mdisibio mdisibio commented Jan 3, 2022

What this PR does:
Detects incomplete pages during unmarshalling and raises an error. Previously it would have silently returned the partially read buffer. This is primarily for None encoding, as the other compression encodings would have caught it already during decompression.

Which issue(s) this PR fixes:
Fixes #1195

Checklist

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

@mdisibio mdisibio merged commit c5bac78 into grafana:main Jan 3, 2022
@mdisibio mdisibio mentioned this pull request Jan 3, 2022
3 tasks
@mdisibio mdisibio deleted the detect-incomplete-page branch January 6, 2022 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Panic when Ingester is starting
2 participants