mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 21:35:58 +03:00
[PR #1809] [MERGED] fix mixupload return EntityTooSmall while a copypart is less than 5MB after split #2186
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#2186
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/1809
Author: @VVoidV
Created: 11/21/2021
Status: ✅ Merged
Merged: 11/27/2021
Merged by: @ggtakec
Base:
master← Head:mixupload-EntityTooSmall📝 Commits (3)
0d6af3bfix mixupload return EntityTooSmall while a copypart is less than 5MB after split41709b4fix possible part exceeds 5GB when multipart_copy_size is set to 5120MB91f776eUpdate curl.cpp📊 Changes
1 file changed (+13 additions, -2 deletions)
View changed files
📝
src/curl.cpp(+13 -2)📄 Description
Relevant Issue (if applicable)
None
Details
When I test append file, I found append 1 byte after a 513MB file while always reulsting in EIO.
The reason is mixupload will use copy API for previous 513MB.This will be splited into 512MB and 1MB. The data appeded will be uploaded as part 3. So we have 512M, 1M and 1 Byte part, this will cause EntityTooSmall when completing the MultipartUpload.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.