-
Notifications
You must be signed in to change notification settings - Fork 721
Open
Description
Part of #2611
After we have object versioning, it's possible for us add API like undelete which can restore a file from deleted states.
There are several possibilities:
- Add API like
undelete/restorewhich focus onrestoredeleted files from existing versions. - Add API like
promotewhich focus onpromoteexisting version as current version (this coversrestore, but harder for users to understand what it does) - Extend
copyinstead of adding new API. - Welcome new designs
References
How to restore deleted files in cloud storage?
- S3: delete
delete_markerfor an object,delete_markershould be fetched vialist_objects_version - Gcs: In Cloud Storage, restoring a noncurrent object version means making a copy of it
- Azblob: To restore the current version, first restore all soft-deleted versions, and then use the Copy Blob operation to copy a previous version to a new current version.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels