From 7511fbe55cda09b25757ccc6133bd8dff8bb8684 Mon Sep 17 00:00:00 2001 From: yuval Lifshitz Date: Fri, 16 Dec 2022 14:01:06 -0500 Subject: [PATCH] rgwlc/notifications: also fix etag Signed-off-by: Matt Benjamin (cherry picked from commit 7c58b2a9f3cb3f31398065d862e264bb248760bf) --- src/rgw/rgw_lc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_lc.cc b/src/rgw/rgw_lc.cc index 4db82856503..7f4a79501ff 100644 --- a/src/rgw/rgw_lc.cc +++ b/src/rgw/rgw_lc.cc @@ -587,7 +587,7 @@ static int remove_expired_obj( // send request to notification manager (void) notify->publish_commit(dpp, obj_state->size, ceph::real_clock::now(), - obj->get_attrs()[RGW_ATTR_ETAG].to_str(), + obj_state->attrset[RGW_ATTR_ETAG].to_str(), version_id); } -- 2.47.3