Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Various fixes for WORM mode #159

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

None yet

2 participants