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

Report an error on unsupported codec or invalid zstd blob #586

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

ppluciennik
Copy link
Contributor

Method BatchDownloadBlobsWithStats silently ignores decoding error or unsupported codec due to lack of incrementing numErrs.

@ppluciennik
Copy link
Contributor Author

I'm also not sure, but probably allRetriable should be also set to false.

@mrahs
Copy link
Collaborator

mrahs commented Jul 11, 2024

Thanks for the PR. I think it's reasonable to not retry decoding errors since they come after a successful transmission. It would be great if you can add a test case.

@ppluciennik
Copy link
Contributor Author

I'm sorry for a late response, but I was on vacation. I've added TestBatchDownloadBlobsBrokenCompression test to PR.

@mrahs
Copy link
Collaborator

mrahs commented Aug 6, 2024

Thank you for updating the PR. Nice work. (Sorry for the late response on my end as well..)

@mrahs mrahs merged commit 86c6b06 into bazelbuild:master Aug 6, 2024
7 checks passed
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