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: v16.2.15~89^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=02347fc27bc05cf33d22c2f0bf8882010a9e26c4;p=ceph.git Solving the issue of not populating etag in Multipart update result Signed-off-by: Ali Masarwa (cherry picked from commit 2b13cd90951891bf9767f168653a896d94ca056c) --- diff --git a/src/rgw/rgw_op.cc b/src/rgw/rgw_op.cc index e2d74d9cedd7..63c36db00e9b 100644 --- a/src/rgw/rgw_op.cc +++ b/src/rgw/rgw_op.cc @@ -6712,6 +6712,9 @@ void RGWCompleteMultipart::complete() ldpp_dout(this, 0) << "WARNING: failed to unlock " << serializer->oid << dendl; } } + + etag = s->object->get_attrs()[RGW_ATTR_ETAG].to_str(); + send_response(); }