mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[PR #1027] [CLOSED] Fixed to use copy api in multipart upload #1769
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#1769
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/1027
Author: @ggtakec
Created: 5/2/2019
Status: ❌ Closed
Base:
master← Head:master📝 Commits (1)
2065281Fixed to use copy api in multipart upload📊 Changes
8 files changed (+398 additions, -12 deletions)
View changed files
📝
doc/man/s3fs.1(+5 -0)📝
src/curl.cpp(+162 -2)📝
src/curl.h(+5 -0)📝
src/fdcache.cpp(+178 -10)📝
src/fdcache.h(+7 -0)📝
src/s3fs.cpp(+9 -0)📝
src/s3fs_util.cpp(+7 -0)📝
test/integration-test-main.sh(+25 -0)📄 Description
Relevant Issue (if applicable)
#607
Details
Modified to use
Upload partandCopy part(api)when multipart upload of object.This will allow you to download and upload the smallest sized parts if you upload after writing a part of the object.
(In accordance with the minimum part size 5MB of multipart upload, useless download and upload will not be performed.)
As much as possible, s3fs will improve performance by uploading only the updated area.
The
nomixuploadoption has been added to keep the previous behavior backward compatible.When this option is specified, s3fs operates as before.
Also, when the nocopyapi, norenameapi and nomultipart options are specified, the same operation as before is performed.
Besides this, test cases for this modified are added. (and the two typo corrections.)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.