From: Matt Benjamin Date: Mon, 13 Apr 2026 21:49:40 +0000 (-0400) Subject: rgw: return an etag header for all successful complete-multipart X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=565077e2f1cd362a3b6f9744a6192593bce28296;p=ceph.git rgw: return an etag header for all successful complete-multipart Don't return an empty etag header on an idempotent replay of a successful complete-multipart-upload. Fixes: https://tracker.ceph.com/issues/75999 Signed-off-by: Matt Benjamin --- diff --git a/src/rgw/rgw_op.cc b/src/rgw/rgw_op.cc index bd3cfe2a4e2d..e92459429890 100644 --- a/src/rgw/rgw_op.cc +++ b/src/rgw/rgw_op.cc @@ -7662,7 +7662,10 @@ bool RGWCompleteMultipart::check_previously_completed(const RGWMultiCompleteUplo << oetag << ", re-calculated etag:" << final_etag_str << dendl; return false; } - ldpp_dout(this, 5) << __func__ << "() object etag and re-calculated etag match, etag: " << oetag << dendl; + ldpp_dout(this, 5) << __func__ + << "() object etag and re-calculated etag match, etag: " + << oetag << dendl; + etag = oetag; return true; }