Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S3Store: Deferred length uploads fail when only 1 incomplete part is uploaded #501

Closed
atticoos opened this issue Oct 21, 2023 · 0 comments · Fixed by #561
Closed

S3Store: Deferred length uploads fail when only 1 incomplete part is uploaded #501

atticoos opened this issue Oct 21, 2023 · 0 comments · Fixed by #561
Labels

Comments

@atticoos
Copy link

atticoos commented Oct 21, 2023

When uploading a readable stream (deferred length), when the overall upload is smaller than the minPartSize, then the upload remains as an incomplete part, never establishing an actual part for the S3 multipart upload to complete.

Reproducible Steps

  1. Upload via readable stream with deferred lengths
  2. Upload a very small set of chunks that are collectively smaller than the minPartSize

Expected behavior

The file upload completes

Actual behavior

500 - finishMultipartUpload fails because there are no completed parts resolved from client.listParts.

As a result, S3 contains no Parts in its response field, resulting in an undefined error when finishMultipartUpload attempts parts.map

Fix - #502

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants