From ea30bd53a3cb9c5b96f7bd6b61da3edd252edbba Mon Sep 17 00:00:00 2001 From: Soumya Koduri Date: Mon, 20 May 2024 13:25:19 -0400 Subject: [PATCH] rgwlc: non-current expiration sends LifecycleExpirationDelete Missed when the new event types were added. Signed-off-by: Matt Benjamin --- src/rgw/rgw_lc.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rgw/rgw_lc.cc b/src/rgw/rgw_lc.cc index 04e6caa2c6d1..49629dbdce6d 100644 --- a/src/rgw/rgw_lc.cc +++ b/src/rgw/rgw_lc.cc @@ -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 -- 2.47.3