-
Notifications
You must be signed in to change notification settings - Fork 557
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
mc: Vendorize minio-go this brings in streaming support. #2203
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2203 +/- ##
=========================================
- Coverage 9.07% 9.03% -0.05%
=========================================
Files 93 93
Lines 6908 6899 -9
=========================================
- Hits 627 623 -4
+ Misses 6152 6149 -3
+ Partials 129 127 -2
Continue to review full report at Codecov.
|
@@ -136,8 +136,8 @@ func uploadSourceToTargetURL(urls URLs, progress io.Reader) URLs { | |||
targetURL := urls.TargetContent.URL | |||
length := urls.SourceContent.Size | |||
|
|||
// Optimize for server side copy if object is <= 5GiB and the host is same. | |||
if length <= globalMaximumPutSize && sourceAlias == targetAlias { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing length <= globalMaximumPutSize
because minio-go already does that ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now minio-go supports copyObject upto 5TiB // cc @donatello
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM and tested (resume download and copy)
PR minio/minio-go#741 also needs to be in minio-go before it is vendored here to be sure that there are no known bugs. |
Yes waiting on two PRs to be merged |
PR is updated @donatello @krishnasrinivas with the latest minio-go. |
This PR brings following changes - Brings streaming support for mc uploads. - Brings support for copying objects upto 5TiB as a consequence of ComposeObject implementation in minio-go.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR brings following changes
as a consequence of ComposeObject implementation
in minio-go.