]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgwlc: harmonize lifecycle notifications with the others
authorMatt Benjamin <mbenjamin@redhat.com>
Wed, 22 Dec 2021 18:33:52 +0000 (13:33 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Tue, 4 Jan 2022 14:26:16 +0000 (09:26 -0500)
commit7b74603513981c622fb3d25d8cd13f13a4c4dcb0
treebd747dede88d2671d3df1646c467a954f9fffb27
parent35a4eb4410394a0014648dda7df92642f3b536d3
rgwlc:  harmonize lifecycle notifications with the others

After working with notification configurations, it seemed to make
more sense to organize the different lifecycle notification sub-types
along the same lines as the official AWS ones.  So, there are now
ObjectExpirationCurrent and ObjectExpirationNoncurrent types, and
an ObjectExpiration wildcard.  Similarly, ObjectTransition
contains Current and Noncurrent sub-types.

Note that I have defined an ObjectExpirationAbortMPU notification
sub-type, but do not currently generate it--this is to avoid changing
the rgw::sal interface, but most likely we would support this in
future.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
doc/radosgw/s3-notification-compatibility.rst
src/rgw/rgw_lc.cc
src/rgw/rgw_notify_event_type.cc
src/rgw/rgw_notify_event_type.h