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

Adjust DeleteObject satellite endpoint (object retention) #401

Open
amwolff opened this issue Feb 12, 2024 · 3 comments
Open

Adjust DeleteObject satellite endpoint (object retention) #401

amwolff opened this issue Feb 12, 2024 · 3 comments
Assignees
Labels
Milestone

Comments

@amwolff
Copy link
Member

amwolff commented Feb 12, 2024

Goal

This issue is to make meaningful progress on Object Lock implementation within core and edge services. Specifically, to support immutable backups in backup software products like Veeam.

What needs to be done? • Acceptance Criteria

Modify the corresponding to DeleteObject endpoint on the satellite (the endpoint might be named differently) to respect the lock information (if it exists) of the object version that is being deleted:

  • This can only work when the object isn't locked using Compliance mode
  • Otherwise, return an appropriate, easy to translate to S3 compatible error on the gateway
  • Legal Hold and governance mode (retention mode) is out of scope at this moment

Summary

Implementation reference.

Depends on…

Links

@kaloyan-raev
Copy link
Member

Do we need to support Governance mode for the MVP? Compliance mode would be enough, which means that DeleteObject should only respect the object's retention period.

@kaloyan-raev
Copy link
Member

Actually, I don't think we need to do anything in DeleteObject. The retention period is set on a specific object version. Calling DeleteObject on an object with locked versions would just add a new delete marker and won't affect any of the existing object versions.

However, we need to modify DeleteObjectVersion to respect any retention period set on the object version to be deleted.

@storj-gerrit
Copy link

storj-gerrit bot commented May 2, 2024

Change satellite/{metabase,metainfo}: prevent deleting locked objects mentions this issue.

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

No branches or pull requests

3 participants