Concurrent writes to the same folder on an S3 bucket using the JavaScript SDK v2

0

Hello, I'm having some issues while using the JavaScript SDK (S3.ManagedUpload) to dynamically upload images to an S3 Bucket.

Right now I have a bucket that contains a folder for every resource, and the folder is identified by the resource's ID (which is unique). Everything works perfectly when trying to upload one image at a time, however when trying to concurrently upload multiple files to the same folder (eg: :resourceId/*), some images get deleted after a short amount of time (even though I get no errors at all during the upload). I tried firing a GetObject right after uploading them and they indeed exist, however if I ping them again after a short delay, some return a "Key Not Found" error

Any help would be appreciated, thanks.

沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南