[PR #1809] [MERGED] fix mixupload return EntityTooSmall while a copypart is less than 5MB after split #2186

Closed
opened 2026-03-04 02:04:15 +03:00 by kerem · 0 comments
Owner

📋 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: masterHead: mixupload-EntityTooSmall


📝 Commits (3)

  • 0d6af3b fix mixupload return EntityTooSmall while a copypart is less than 5MB after split
  • 41709b4 fix possible part exceeds 5GB when multipart_copy_size is set to 5120MB
  • 91f776e Update 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.

## 📋 Pull Request Information **Original PR:** https://github.com/s3fs-fuse/s3fs-fuse/pull/1809 **Author:** [@VVoidV](https://github.com/VVoidV) **Created:** 11/21/2021 **Status:** ✅ Merged **Merged:** 11/27/2021 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `mixupload-EntityTooSmall` --- ### 📝 Commits (3) - [`0d6af3b`](https://github.com/s3fs-fuse/s3fs-fuse/commit/0d6af3beca48e3c0e311153056215690a40b7f67) fix mixupload return EntityTooSmall while a copypart is less than 5MB after split - [`41709b4`](https://github.com/s3fs-fuse/s3fs-fuse/commit/41709b4ae753d3e65efceef3553906f32702c5fe) fix possible part exceeds 5GB when multipart_copy_size is set to 5120MB - [`91f776e`](https://github.com/s3fs-fuse/s3fs-fuse/commit/91f776e7aeeef6a259151008f3e56cf2c8cc9b7f) Update curl.cpp ### 📊 Changes **1 file changed** (+13 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/curl.cpp` (+13 -2) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:04:15 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#2186
No description provided.