Skip to content

Bugfix? Improve EOF handling in readers.go #4963

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 1 commit into from
Apr 8, 2025

Conversation

joe-elliott
Copy link
Collaborator

@joe-elliott joe-elliott commented Apr 7, 2025

What this PR does:
We are currently chasing a very rare panic that occurs in parquet-go. While fixing a related issue in compactors I noticed that io.EOF was not being handled correctly in readers.go. This change makes the various ReaderAt's in vParquet4 handle io.EOF correctly.

It's possible that this change fixes the panic but I believe it to be unlikely.

Also removed the error wrapping in s3.go to be consistent with other backends.

Checklist

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

Signed-off-by: Joe Elliott <number101010@gmail.com>
@joe-elliott joe-elliott merged commit 2a7420e into grafana:main Apr 8, 2025
15 checks passed
@joe-elliott joe-elliott mentioned this pull request Apr 8, 2025
3 tasks
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.

2 participants