-
Notifications
You must be signed in to change notification settings - Fork 17
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
Consider legal holds on NeoFS objects #247
Comments
|
Determine who can create legal holds
Try hold containers, check if it plays nicely with S3 spec There is one option though. |
Is your feature request related to a problem? Please describe.
S3 protocol defines Object Lock legal hold operation. This operation locks object for indefinite period of time. This lock can be removed.
As we decided here, NeoFS locks cannot be removed and must have expiration, see nspcc-dev/neofs-api#221. This is suitable for retention locks in compliance mode, but it does not work with legal holds.
Describe the solution you'd like
As we discussed this with @realloc some time ago, there was a proposal to implement legal holds as a smart contract. This way we avoid API changes.
Q: Who has the right to trigger legal hold?
A: In public network -- nobody. In private network -- some set of keys defined in legal hold contract.
Q: How storage node stores legal hold information?
A: In metabase. Maybe we can ask contract on every
DELETE
request.Q: What if metabase is lost in SN?
A: Resync the list of legal hold objects from contract at startup.
The text was updated successfully, but these errors were encountered: