Project

General

Profile

Actions

Feature #69203

closed
YL SK

support ObjectRestore notifications

Feature #69203: support ObjectRestore notifications

Added by Yuval Lifshitz almost 2 years ago. Updated 29 days ago.

Status:
Backporting
Priority:
Normal
Assignee:
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
tentacle
Reviewed:
Affected Versions:
Pull request ID:
Tags (freeform):
Fixed In:
v20.3.0-4074-gb56fccc902
Released In:
v21.2.0~1722
Upkeep Timestamp:
2026-11-04T01:08:59+00:00

Description

from here: https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-how-to-event-types-and-destinations.html

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


Related issues 1 (1 open — 0 closed)

Copied to rgw - Backport #75180: tentacle: support ObjectRestore notificationsFix Under ReviewSoumya Koduri

Actions

SK Updated by Soumya Koduri almost 2 years ago Actions #1

  • Tags changed from notifications to notifications, cloud-restore

YL Updated by Yuval Lifshitz almost 2 years ago ยท Edited Actions #2

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.

SK Updated by Soumya Koduri 9 months ago Actions #4

  • Status changed from New to Pending Backport
  • Backport set to tentacle
  • Pull request ID set to 65023

UB Updated by Upkeep Bot 9 months ago Actions #5

  • Copied to Backport #75180: tentacle: support ObjectRestore notifications added

UB Updated by Upkeep Bot 9 months ago Actions #6

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot 9 months ago Actions #7

  • 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

UB Updated by Upkeep Bot 3 months ago Actions #8

  • Status changed from Pending Backport to Backporting
  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2026-02-26T12:39:14+00:00 to 2026-08-27T18:26:57+00:00

UB Updated by Upkeep Bot about 1 month ago Actions #9

  • Released In set to v21.2.0~1721
  • Upkeep Timestamp changed from 2026-08-27T18:26:57+00:00 to 2026-10-24T01:15:17+00:00

UB Updated by Upkeep Bot 29 days ago Actions #10

  • Released In changed from v21.2.0~1721 to v21.2.0~1722
  • Upkeep Timestamp changed from 2026-10-24T01:15:17+00:00 to 2026-11-04T01:08:59+00:00
Actions

Also available in: PDF Atom