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

chore(dataobj): do not panic on unrecognized compression type #16088

Merged

Conversation

rfratto
Copy link
Member

@rfratto rfratto commented Feb 4, 2025

Opening a page for reading should not cause a panic. An unknown compression type may be encountered if an older version of the dataobj reading code is trying to read an object produced by a newer version (where new compression types are available).

Because of this, the read path should never panic when encountering an unexpected value in an object; this was the only panic on the read path and is now removed.

Opening a page for reading should not cause a panic. An unknown
compression type may be encountered if an older version of the dataobj
reading code is trying to read an object produced by a newer version
(where new compression types are available).

Because of this, the read path should never panic when encountering an
unexpected value in an object; this was the only panic on the read path
and is now removed.
@rfratto rfratto requested a review from a team as a code owner February 4, 2025 15:57
@rfratto rfratto merged commit 66b2721 into grafana:main Feb 4, 2025
60 checks passed
@rfratto rfratto deleted the dataobj-no-panic-unexpected-compression branch February 4, 2025 16:42
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.

4 participants