Story #4981
closed
Remove incomplete chunked uploads after a set amount of time
Description
Chunked uploads could be large. If they are never turned into artifacts, they could take up large amounts of disk space indefinitely.
- Related to Story #4196: As a user, I can upload files in chunks. added
- Description updated (diff)
- Tracker changed from Issue to Task
- % Done set to 0
- Tracker changed from Task to Story
- Related to Story #4988: As a user, I can remove uploads added
Does it make sense to extend the upload API for GET and DELETE and accept the parameter incomplete=true?
So one would be able to list or retrieve incomplete uploads and remove them by explicitly specifying that they are removing the incomplete one.
E.g.
# all
http GET :24817/pulp/api/v3/uploads/ incomplete=true # or just filter by completed_at
# specific one (not very useful but might be a way to check for a user if the upload is incomplete or not)
export UPLOAD='/pulp/api/v3/uploads/345b7d58-f1f8-45d9-d354-82a31eb879bf/'
http GET :24817${UPLOAD} incomplete=true # or just filter by completed_at
# remove a specific one
http DELETE :24817${UPLOAD} incomplete=true
- Sprint/Milestone deleted (
3.0.0)
- Status changed from NEW to CLOSED - WONTFIX
Also available in: Atom
PDF