-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
googleapis/google-resumable-media-python
#86Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.
Description
Environment details
- Specify the API at the beginning of the title : Storage
- OS type and version: Linux, Ubuntu 16
- Python version and virtual environment information: 2.7.15
- google-cloud-storage-1.12.0
Steps to reproduce
bucket = client.bucket('clusterfuzz-data')
blob = bucket.blob('/zero.file', chunk_size=1024 * 1024 * 100)
blob.download_to_filename('any_local_path')
google.api_core.exceptions.RequestRangeNotSatisfiable: 416 GET https://www.googleapis.com/download/storage/v1/b/clusterfuzz-data/o/zero.file?alt=media: (u'Request failed with status code', 416, u'Expected one of', 200, 206)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.
Metadata
Metadata
Assignees
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.