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

Do not panic on unsupported compression type #16

Merged
merged 1 commit into from May 3, 2020

Conversation

geomaster
Copy link
Contributor

Heya folks, it's me again.

An unsupported compression type can legitimately happen when we catch a region in the middle of a server updating it. This error can be nicely handled by simply retrying the read, but the panic disallows this.

Instead of panicking, this PR simply introduces a new error type and returns it when we encounter such a case.

An unsupported compression type can legitimately happen when we catch a
region in the middle of a server updating it. This error can be nicely
handled by simply retrying the read, but the panic disallows this.

Instead of panicking, simply introduce a new error type and return it
when we encounter such a case.
@eminence
Copy link
Member

eminence commented May 3, 2020

Thanks!

@eminence eminence merged commit 2f8b2b5 into overviewer:master May 3, 2020
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.

None yet

2 participants