Multi-delete does not remove SLO segments
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
New
|
Undecided
|
Unassigned |
Bug Description
While this is consistent with the default behavior of DELETE which requires the manifest parameter to remove segments, I cannot efficiently emulate deleting SLOs with bulk-delete. For regular deletes, I can issue a HEAD to determine whether an object is a regular object or SLO, then issue a DELETE with the correct flags (although I would prefer DELETE to just do the right thing). For multi-delete, I would need to issue a HEAD and possibly DELETE per object, defeating the purpose of multi-delete. This makes it difficult to use a cross-cloud abstraction like jclouds to interact with both S3 and Swift. A recent user data point:
Please make multi-delete (and delete) remove SLO segments.
We could make the bulk delete middleware aware of the multipart- manifest= delete parameter, which would be propagated on delete requests. In conjunction with https:/ /review. openstack. org/#/c/ 463849/, we could delete all objects with the same single request.