Story #4988
closedAs a user, I can remove uploads
100%
Description
Example:
http POST :24817/pulp/api/v3/uploads/ size=10485759 # returns a UUID (e.g. 345b7d58-f1f8-45d9-d354-82a31eb879bf)
export UPLOAD='/pulp/api/v3/uploads345b7d58-f1f8-45d9-d354-82a31eb879bf/'
http DELETE :24817${UPLOAD}
Allow any upload to be deleted. Also, add a filter to list incomplete uploads.
Related issues
Updated by daviddavis over 5 years ago
- Related to Story #4196: As a user, I can upload files in chunks. added
Updated by daviddavis over 5 years ago
- Related to Story #4981: Remove incomplete chunked uploads after a set amount of time added
Updated by daviddavis over 5 years ago
- Subject changed from As a user, I can remove incomplete uploads to As a user, I can remove uploads
Updated by daviddavis over 5 years ago
Updated by daviddavis over 5 years ago
- Blocked by Story #4488: As a user, I can upload chunks in parallel added
Updated by daviddavis over 5 years ago
- Tracker changed from Issue to Story
- % Done set to 0
Updated by ttereshc over 5 years ago
I think it can be deleted if the upload is complete.
I'm more worried about incomplete ones and how to determine that it's safe to delete them. I'll comment on #4981.
Updated by daviddavis over 5 years ago
I lean towards allowing users to delete any uploads including incomplete ones. To me, uploads are transient so I don't worry about users accidentally deleting ones. I guess I worry more about users not being able to easily remove large amounts of data from their filesystem.
Updated by dkliban@redhat.com over 5 years ago
Users should be able to delete any Upload.
Updated by ttereshc over 5 years ago
- Groomed changed from No to Yes
I think it's ok for now. In case users report that it's easy to accidentally remove it in their workflow, we can introduce a flag like "force=True".
Updated by daviddavis over 5 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to daviddavis
Updated by daviddavis over 5 years ago
- Status changed from ASSIGNED to POST
Added by daviddavis over 5 years ago
Updated by daviddavis over 5 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulpcore|cd5d8e99d8a9c8ded706bfa6a0d5287164a2f630.
Updated by bmbouter almost 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Allow deletion of uploads
Also added a filter to filter by incomplete.
fixes #4988