-
Notifications
You must be signed in to change notification settings - Fork 185
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
Disable MultiPart transfer #110
Comments
Ahh, while digging in the sources, i found |
Unfortunatly it seems that Would you be OK changing |
Yes, I believe that I find it surprising that Google Cloud Storage doesn't support multipart upload. The docs seem to imply that it does. If it doesn't, we can switch to the low-level s3api over the |
Google calls the S3like access Interoperability, and the docs can be found here I am still trying to find an appropriate source. The only one found so far is https://stackoverflow.com/questions/27830432/google-cloud-storage-support-of-s3-multipart-upload |
I definitely am fine with modifying it so it can be compatible with both GCP and AWS, but need a proper full understanding of the structure. I don't mind terribly having an option that forces single upload over multipart, so that the default behaviour is like That having been said:
In other words, trying to mimic the default behaviour as closely as possible. We always can relax those constraints later. |
Hmm, reading the AWS REST API docs here, here and here, I see that:
The GCP REST API is compatible for putting entire objects:
As you said, that API (XML), however, doesn't support multipart uploads (although it does support resumable). On the other hand, the json one does. We have a few options:
Those are the two I can think of right now. |
@deitch I've done a few tests with s3cmd. Off1Gb file multi-part disabled"
On1Mb,
1Gb file multi-part enabled"
|
As for a replacement, i would really suggest No need for any special case since we can pass the Currently dooing a few tests in a fork |
Hi !
When using
AWS_ENDPOINT_URL
to connect to Google Storage, the backup fail, beacuse Google Storate does not support Multi-Part transfers.Would it be possible to add an option to either disable it, or to detect that the endpoint is
https://storage.googleapis.com
and disable it automactly ?Thanks,
Samuel
The text was updated successfully, but these errors were encountered: