From 2b13cd90951891bf9767f168653a896d94ca056c Mon Sep 17 00:00:00 2001 From: Ali Masarwa Date: Mon, 20 Mar 2023 18:42:30 +0200 Subject: [PATCH] Solving the issue of not populating etag in Multipart update result Signed-off-by: Ali Masarwa --- src/rgw/rgw_op.cc | 3 +++ 1 file changed, 3 insertions(+) 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(); } -- 2.47.3