-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
feat(server): clean up interrupted upload files #14265
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be cool if we could write an e2e test for this. Not sure if it's (easily) doable though
@jrasm91 Done, is this what you are looking for? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect, ty!
* feat(server): clean up interrupted upload files * pr feedback * remove console.log * handle all errors * remove return in callback function * programming in bed is a bad idea
How can one clean the existing failed uploads? |
Manually |
@bo0tzz , but how exactly to distinguish stale objects from something that is going on right now? |
If you're using the storage template, anything left behind in upload after running the template job should be safe to remove. |
No description provided.