-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Storage: 416 exception in download with chunked size for 0 byte files #6572
Storage: 416 exception in download with chunked size for 0 byte files #6572
Comments
@javisantana who seems to have implemented range downloads in 44cebf8#diff-0e25e032e1cb97e8a46cc72571c09e2f |
I can reproduce this exception. The issue is in The API docs for the ISTM that |
Hi @coryan, can you help with this? |
Retrying with a different range sounds good, with the caveat that somehow the application should be able to say "all or nothing", I anticipate applications that need that many bytes or cannot do any work, and retrying is wasteful in that case. Also (as you probably know already) there is nothing to retry if the response includes |
Closes [google-cloud python #6572](googleapis/google-cloud-python#6572).
@inferno-chromium The fix will be available in an upcoming release of |
Thanks! |
Environment details
Steps to reproduce
Need to fix this similar to googleapis/google-cloud-go#242
Can you suggest a workaround or do a release for this. this is blocking our switch to chunked size.
Orthogonal question: I also wonder why there is no default chunked size, we were hitting silent ooms with python process failures since default chunk size was not set. We were trying this on like 20 gb file.
The text was updated successfully, but these errors were encountered: