Skip to content

Conversation

fvennetier
Copy link
Member

  • obj: allow S3 MPU to work in worm mode

These require the deletion of a temporary manifest at the end of the
upload.
@@ -663,6 +664,10 @@ def DELETE(self, req):
def _delete_object(self, req):
storage = self.app.storage
oio_headers = {'X-oio-req-id': self.trans_id}
# Allow swift3 to delete things from the multipart container
if (req.environ.get('swift.source') == 'S3' and
self.container_name.endswith(MULTIUPLOAD_SUFFIX)):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO it will not work with Container Hierachy or regexcontainer, maybe add a test regarding in oio-bucket-name ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants