-
Notifications
You must be signed in to change notification settings - Fork 206
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
restart upload different destination #461
Comments
Hi @Djolivald, can you please create a minimal reproduction repo where this is happening? We're using Evaporate and probably had very similar cases but the problem was not happening. |
Sure thing, if you use the example from the repo set it up with your AWS creds/bucket/signing url. Uploading a file named
Then cancel the upload, and create an new one with the same file. |
Hey @jakubzitny Just wanted to check whether you have a way to prevent this behaviour? My temporary solution is to wipe the application storage before each upload... Not very sexy |
Hi, I am having an issue with upload restart.
When cancelling an upload Evaporate save the file/md5 in cache. My issue is that if the user decides to reupload the same file it will restart the old upload regardless of the new upload destination.
I think the upload destination should be matching (along with the md5) for a file to continue upload. I end up in situations where I detect the upload as being dead/cancelled server side, deleting the upload and parts in S3 and creating a new record for the new upload, but Evaporate still uploads to the old location.
Alternatively, is it possible to prevent the upload restart mechanism altogether? I prefer to lose the feature to allow to restart uploads over having users uploading to the wrong destination.
Thanks!
The text was updated successfully, but these errors were encountered: