uppy
uppy copied to clipboard
s3 multipart: upload never completes if computer goes to sleep
I have observed that the upload may never completes if the computer goes to sleep while a file is being uploaded.
How to reproduce:
- start the upload of a large file
- after some time, the computer goes to sleep
- some time later, wake up the computer. The upload resumes
- the upload continues up to 99-100% but never completes
When it happened, I debugged the code and saw that some of the chunks have status "busy" but they are stuck and their status never change. So when #uploadParts
is being called, the upload does not complete because all the chunks have either the status done
or busy
.
For some reason, some of the uploaded parts failed but their status remained busy
.
Environment:
- Chrome 101.0.4951.64
- Mac OS 12.3.1
- @uppy/[email protected]
- @uppy/[email protected]
Thank you for reporting. Could be related to issues you investigated yesterday @Murderlon @goto-bus-stop?