From 7288cbe28035867540b68dfcbc4894e1fb50ea2e Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Mon, 13 Mar 2023 13:40:02 -0400 Subject: [PATCH] rgw/s3: DeleteObjects response uses correct delete_marker flag use delete_marker from the DeleteOp result, not from the sal::Object Fixes: https://tracker.ceph.com/issues/59048 Signed-off-by: Casey Bodley --- src/rgw/rgw_op.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_op.cc b/src/rgw/rgw_op.cc index 513cb20bc69a2..e0c16c0f58419 100644 --- a/src/rgw/rgw_op.cc +++ b/src/rgw/rgw_op.cc @@ -7040,7 +7040,7 @@ void RGWDeleteMultiObj::handle_individual_object(const rgw_obj_key& o, optional_ op_ret = 0; } - send_partial_response(o, obj->get_delete_marker(), del_op->result.version_id, op_ret, formatter_flush_cond); + send_partial_response(o, del_op->result.delete_marker, del_op->result.version_id, op_ret, formatter_flush_cond); // send request to notification manager int ret = res->publish_commit(this, obj_size, ceph::real_clock::now(), etag, version_id);