Feature #69203
opensupport ObjectRestore notifications
0%
Description
we should add the following types:
s3:ObjectRestore:*
s3:ObjectRestore:Post
s3:ObjectRestore:Completed
s3:ObjectRestore:Delete
By using the ObjectRestore event types, you can receive notifications for event initiation and completion when restoring objects from the S3 Glacier Flexible Retrieval storage class, S3 Glacier Deep Archive storage class, S3 Intelligent-Tiering Archive Access tier, and S3 Intelligent-Tiering Deep Archive Access tier. You can also receive notifications for when the restored copy of an object expires.
The s3:ObjectRestore:Post event type notifies you of object restoration initiation. The s3:ObjectRestore:Completed event type notifies you of restoration completion. The s3:ObjectRestore:Delete event type notifies you when the temporary copy of a restored object expires.
this could be done similarly to how sync notifications are done. see: https://github.com/ceph/ceph/blob/main/src/rgw/driver/rados/rgw_cr_rados.cc#L720
Updated by Soumya Koduri over 1 year ago
- Tags changed from notifications to notifications, cloud-restore
Updated by Yuval Lifshitz about 1 year ago ยท Edited
information on cloud restore is here: https://github.com/ceph/ceph/blob/main/src/doc/rgw/cloud-restore.md
adding the new types should be done here:
https://github.com/ceph/ceph/blob/main/src/rgw/rgw_notify_event_type.h
sending the notification (reserve and commit):
s3:ObjectRestore:Post: should probably be implemented in: https://github.com/ceph/ceph/blob/main/src/rgw/rgw_op.cc#L953
s3:ObjectRestore:Completed: in: https://github.com/ceph/ceph/blob/main/src/rgw/driver/rados/rgw_lc_tier.cc#L257
s3:ObjectRestore:Delete: in https://github.com/ceph/ceph/blob/main/src/rgw/driver/rados/rgw_sal_rados.cc#L3086 (for cloud-tier objects)
note that in case of "post" there is an actual reserve/commit process (similar to other notification sending in rgw_op.cc) since there is an actual client to send reply to.
while the other cases we ignore any "reserve" failures, similar to other lifecycle notifications.
Updated by Soumya Koduri 9 months ago
- Assignee set to Soumya Koduri
Updated by Soumya Koduri 2 months ago
- Status changed from New to Pending Backport
- Backport set to tentacle
- Pull request ID set to 65023
Updated by Upkeep Bot 2 months ago
- Copied to Backport #75180: tentacle: support ObjectRestore notifications added
Updated by Upkeep Bot 2 months ago
- Merge Commit set to b56fccc902d80f3fea5e8b4b2d7d19cc424f5500
- Fixed In set to v20.3.0-4074-gb56fccc902
- Upkeep Timestamp set to 2026-02-26T12:39:14+00:00