Bucket.write() should retry non-resumable uploads too
jonasfj opened this issue · 1 comments
jonasfj commented
As I've come to understand it there is some special code handling resumable uploads in googleapis
package...
We should ensure that the same retry strategy is employed when doing non-resumable uploads in:
gcloud/lib/src/storage_impl.dart
Line 595 in fbe7ef6
jonasfj commented
After further investigation it seems things are not as simple, resumable uploads are only retried if it's not the first request initiating the resumable upload process.
Effectively, it seems retries are only attempted if uploading have been initiated..
I don't think we should fix this now, as there doesn't seem to be a clear policy on what we retry and when..