]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/restore: Add notifications for restore events wip-skoduri-restore-notification
authorSoumya Koduri <skoduri@redhat.com>
Wed, 13 Aug 2025 12:15:50 +0000 (17:45 +0530)
committerSoumya Koduri <skoduri@redhat.com>
Tue, 14 Oct 2025 17:59:16 +0000 (23:29 +0530)
commit01fc9c8b242c5913a2cc87b4041128a41ca97c35
tree1d4fb1d779961e89c09b2cbec2bf923978627e22
parent588d8315e02407a6035073281feb98566f0cba4b
rgw/restore: Add notifications for restore events

The following notification events are added for restore operations as stated
in https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-how-to-event-types-and-destinations.html

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.

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
doc/radosgw/s3-notification-compatibility.rst
src/rgw/driver/rados/rgw_sal_rados.cc
src/rgw/rgw_notify_event_type.cc
src/rgw/rgw_notify_event_type.h
src/rgw/rgw_restore.cc
src/rgw/rgw_restore.h