[GH-ISSUE #1304] EntityTooSmall during test_multipart_mix #697

Closed
opened 2026-03-04 01:48:00 +03:00 by kerem · 1 comment
Owner

Originally created by @gaul on GitHub (Jun 4, 2020).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1304

When debugging some Alibaba OSS changes, I found that s3fs creates a too small 16-byte part during test_multipart_mix which fails due to EntityTooSmall:

s3fs: [INF]       curl.cpp:ParallelMixMultipartUploadRequest(1678): Upload Part [tpath=/testrun-7148/big-file-s3fs.txt-mix][start=0][size=10485760][part=1]
s3fs: [INF]       curl.cpp:UploadMultipartPostSetup(3881): [tpath=/testrun-7148/big-file-s3fs.txt-mix][start=0][size=10485760][part=1]
s3fs: [INF]       curl.cpp:ParallelMixMultipartUploadRequest(1678): Upload Part [tpath=/testrun-7148/big-file-s3fs.txt-mix][start=10485760][size=10485760][part=2]
s3fs: [INF]       curl.cpp:UploadMultipartPostSetup(3881): [tpath=/testrun-7148/big-file-s3fs.txt-mix][start=10485760][size=10485760][part=2]
s3fs: [INF]       curl.cpp:ParallelMixMultipartUploadRequest(1678): Upload Part [tpath=/testrun-7148/big-file-s3fs.txt-mix][start=20971520][size=16][part=3]
s3fs: [INF]       curl.cpp:UploadMultipartPostSetup(3881): [tpath=/testrun-7148/big-file-s3fs.txt-mix][start=20971520][size=16][part=3]
s3fs: [INF]       curl.cpp:ParallelMixMultipartUploadRequest(1700): Copy Part [tpath=/testrun-7148/big-file-s3fs.txt-mix][start=20971536][size=5242864][part=4]
...
s3fs: <Error>
s3fs:   <Code>EntityTooSmall</Code>
s3fs:   <Message>Your proposed upload smaller than the minimum allowed size.</Message>
s3fs:   <RequestId>5ED8C7A228D3F934395F00B6</RequestId>
s3fs:   <HostId>oss-ap-northeast-1.aliyuncs.com</HostId>
s3fs:   <ETag>DA7F19812CF4C9F6B129B70B4A7F901E</ETag>
s3fs:   <MinSizeAllowed>102400</MinSizeAllowed>
s3fs:   <PartNumber>3</PartNumber>
s3fs:   <ProposedSize>16</ProposedSize>
s3fs:   <UploadId>54E7E793A22745A99C0135FBBBC601B1</UploadId>
s3fs: </Error>
Originally created by @gaul on GitHub (Jun 4, 2020). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1304 When debugging some Alibaba OSS changes, I found that s3fs creates a too small 16-byte part during `test_multipart_mix` which fails due to `EntityTooSmall`: ``` s3fs: [INF] curl.cpp:ParallelMixMultipartUploadRequest(1678): Upload Part [tpath=/testrun-7148/big-file-s3fs.txt-mix][start=0][size=10485760][part=1] s3fs: [INF] curl.cpp:UploadMultipartPostSetup(3881): [tpath=/testrun-7148/big-file-s3fs.txt-mix][start=0][size=10485760][part=1] s3fs: [INF] curl.cpp:ParallelMixMultipartUploadRequest(1678): Upload Part [tpath=/testrun-7148/big-file-s3fs.txt-mix][start=10485760][size=10485760][part=2] s3fs: [INF] curl.cpp:UploadMultipartPostSetup(3881): [tpath=/testrun-7148/big-file-s3fs.txt-mix][start=10485760][size=10485760][part=2] s3fs: [INF] curl.cpp:ParallelMixMultipartUploadRequest(1678): Upload Part [tpath=/testrun-7148/big-file-s3fs.txt-mix][start=20971520][size=16][part=3] s3fs: [INF] curl.cpp:UploadMultipartPostSetup(3881): [tpath=/testrun-7148/big-file-s3fs.txt-mix][start=20971520][size=16][part=3] s3fs: [INF] curl.cpp:ParallelMixMultipartUploadRequest(1700): Copy Part [tpath=/testrun-7148/big-file-s3fs.txt-mix][start=20971536][size=5242864][part=4] ... s3fs: <Error> s3fs: <Code>EntityTooSmall</Code> s3fs: <Message>Your proposed upload smaller than the minimum allowed size.</Message> s3fs: <RequestId>5ED8C7A228D3F934395F00B6</RequestId> s3fs: <HostId>oss-ap-northeast-1.aliyuncs.com</HostId> s3fs: <ETag>DA7F19812CF4C9F6B129B70B4A7F901E</ETag> s3fs: <MinSizeAllowed>102400</MinSizeAllowed> s3fs: <PartNumber>3</PartNumber> s3fs: <ProposedSize>16</ProposedSize> s3fs: <UploadId>54E7E793A22745A99C0135FBBBC601B1</UploadId> s3fs: </Error> ```
kerem 2026-03-04 01:48:00 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@ggtakec commented on GitHub (Jul 13, 2020):

This issue is probably resolved in #1313.

<!-- gh-comment-id:657617654 --> @ggtakec commented on GitHub (Jul 13, 2020): This issue is probably resolved in #1313.
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#697
No description provided.