-
Notifications
You must be signed in to change notification settings - Fork 632
Open
Labels
bugThis issue is a bug.This issue is a bug.p2This is a standard priority issueThis is a standard priority issue
Description
Checkboxes for prior research
- I've gone through Developer Guide and API reference
- I've checked AWS Forums and StackOverflow.
- I've searched for previous similar issues and didn't find any solution.
Describe the bug
Immediately ending the stream feeding the Upload
utility from @aws-sdk/lib-storage
sometimes leads to the S3 client getting "locked up": a subsequent command sent through it never finishes.
SDK version number
@aws-sdk/client-s3@3.637.0, @aws-sdk/lib-storage@3.637.0
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v20.15.0
Reproduction Steps
Detailed steps to reproduce are listed in https://github.com/martinslota/aws-sdk-lib-storage-race. Those steps run against Localstack, but the same code also works against actual AWS S3.
Observed Behavior
After uploading an empty stream, commands sent through the S3 client never finish.
Expected Behavior
After uploading an empty stream, commands sent through the S3 client should continue to work as usual.
Possible Solution
No response
Additional Information/Context
No response
fenos, inian, matthieusieben, DavidBuchanan314 and itslenny
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.p2This is a standard priority issueThis is a standard priority issue