S3 upload never finishes for HeapSnapshotStream #5861
Labels
bug
This issue is a bug.
p3
This is a minor priority issue
queued
This issues is on the AWS team's backlog
workaround-available
This issue has a work around available.
Checkboxes for prior research
Describe the bug
HeapSnapshotStream
kind ofReadable
s never finish upload process to S3.SDK version number
"@aws-sdk/client-s3": "^3.521.0", "@aws-sdk/lib-storage": "^3.525.1",
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
node v18.18.0
Reproduction Steps
When I add a log on
httpUploadProgress
event touploadToS3
inuploadStreamToS3Async
method (below), it logs all 12 different parts being uploaded in 4 queues, butawait uploadToS3.done()
never gets resolved.Observed Behavior
The reason why I consider this an issue is that inputting
HeapSnapshotStream
straight into upload body worked with SDK v2 before. The uploadFile solution we didn't need to change, but for heap snapshot we are now converting it to a buffer before uploading. So something is wrong in howHeapSnapshotStream
kind ofReadable
s get processed by the S3 upload library.Expected Behavior
It should work like it did in AWS SDK v2 so that the migration would be easy. Now I consider this as a bug that we had to figure out a different solution for.
Possible Solution
No response
Additional Information/Context
No response
The text was updated successfully, but these errors were encountered: