]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgwlc: non-current expiration sends LifecycleExpirationDelete 57551/head
authorSoumya Koduri <skoduri@redhat.com>
Mon, 20 May 2024 17:25:19 +0000 (13:25 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Thu, 2 Jan 2025 18:19:01 +0000 (13:19 -0500)
Missed when the new event types were added.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_lc.cc

index 04e6caa2c6d11e26e7c5b724d03c766d5cd599e7..49629dbdce6d115924c17dfbcea64462f882bda0 100644 (file)
@@ -1249,7 +1249,8 @@ public:
   int process(lc_op_ctx& oc) override {
     auto& o = oc.o;
     int r = remove_expired_obj(oc.dpp, oc, true,
-                               {rgw::notify::ObjectExpirationNonCurrent});
+                               {rgw::notify::LifecycleExpirationDelete,
+                               rgw::notify::ObjectExpirationNoncurrent});
     if (r < 0) {
       ldpp_dout(oc.dpp, 0) << "ERROR: remove_expired_obj (non-current expiration) " 
                           << oc.bucket << ":" << o.key