diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2025-12-06 11:25:27 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-06 11:25:27 -0800 |
| commit | 9c266fac2914c390437eaebe3270b0a229858e61 (patch) | |
| tree | 5ffd7446bc5af37557d1295b81ae8b2992f23c2d /k8s | |
| parent | 5dd2d44858eb3f81cf89a71d35bc8df145fdbe4d (diff) | |
| download | seaweedfs-9c266fac2914c390437eaebe3270b0a229858e61.tar.xz seaweedfs-9c266fac2914c390437eaebe3270b0a229858e61.zip | |
fix: CompleteMultipartUpload fails for uploads with more than 1000 parts (#7641)
When completing a multipart upload, the code was listing parts with limit=0,
which relies on the server's DirListingLimit default. In 'weed server' mode,
this defaults to 1000, causing uploads with more than 1000 parts to fail
with InvalidPart error.
For a 38GB file with 8MB parts (AWS CLI default), this results in ~4564 parts,
far exceeding the 1000 limit.
Fix: Use explicit limit of MaxS3MultipartParts+1 (10001) to ensure all parts
are listed regardless of server configuration.
Fixes #7638
Diffstat (limited to 'k8s')
0 files changed, 0 insertions, 0 deletions
