Fix DELETE Object to delete segments when it is multipart object
When deleting an object created via Multipart Upload, delete both the
manifest file and the segments by adding "multipart-manifest=delete"
to the query string.
This requires an additional HEAD before each DELETE, which adds a good
bit of overhead. There is a new config option, "allow_multipart_uploads"
which operators may turn off to avoid this overhead if they know their
use-case does not require Multipart Uploads.
Co-Authored-By: Tim Burke <email address hidden>
Change-Id: Ie1889750b0e6fbe48af0da40596f09ed504b9099
Closes-Bug: #1420144
Reviewed: https:/ /review. openstack. org/155199 /git.openstack. org/cgit/ stackforge/ swift3/ commit/ ?id=14981b47c5d 5904b8355a5b1bf 9899dd0460b3c5
Committed: https:/
Submitter: Jenkins
Branch: master
commit 14981b47c5d5904 b8355a5b1bf9899 dd0460b3c5
Author: Naoto Nishizono <email address hidden>
Date: Thu Feb 12 15:22:37 2015 +0900
Fix DELETE Object to delete segments when it is multipart object
When deleting an object created via Multipart Upload, delete both the manifest= delete"
manifest file and the segments by adding "multipart-
to the query string.
This requires an additional HEAD before each DELETE, which adds a good multipart_ uploads"
bit of overhead. There is a new config option, "allow_
which operators may turn off to avoid this overhead if they know their
use-case does not require Multipart Uploads.
Co-Authored-By: Tim Burke <email address hidden> e48af0da40596f0 9ed504b9099
Change-Id: Ie1889750b0e6fb
Closes-Bug: #1420144