From: Ali Masarwa Date: Mon, 20 Mar 2023 16:42:30 +0000 (+0200) Subject: Solving the issue of not populating etag in Multipart update result X-Git-Tag: v19.0.0~1252^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F50627%2Fhead;p=ceph.git Solving the issue of not populating etag in Multipart update result Signed-off-by: Ali Masarwa --- diff --git a/src/rgw/rgw_op.cc b/src/rgw/rgw_op.cc index 513cb20bc69a..b3bcc0a9fb13 100644 --- a/src/rgw/rgw_op.cc +++ b/src/rgw/rgw_op.cc @@ -6575,6 +6575,9 @@ void RGWCompleteMultipart::complete() ldpp_dout(this, 0) << "WARNING: failed to unlock " << *serializer.get() << dendl; } } + + etag = s->object->get_attrs()[RGW_ATTR_ETAG].to_str(); + send_response(); }