From: Shilpa Jagannath Date: Mon, 4 May 2026 20:16:35 +0000 (-0400) Subject: rgw: fix assert crash in RGWDeleteMultiObj end_response() X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F68740%2Fhead;p=ceph.git rgw: fix assert crash in RGWDeleteMultiObj end_response() remove the close_section() call from end_response() and rely on output_footer() inside rgw_flush_formatter_and_reset() to close the DeleteResult section safely. Signed-off-by: Shilpa Jagannath --- diff --git a/src/rgw/rgw_rest_s3.cc b/src/rgw/rgw_rest_s3.cc index b3cb03fef733..e78fe651c6b0 100644 --- a/src/rgw/rgw_rest_s3.cc +++ b/src/rgw/rgw_rest_s3.cc @@ -4999,7 +4999,6 @@ void RGWDeleteMultiObj_ObjStore_S3::send_partial_response(const rgw_obj_key& key void RGWDeleteMultiObj_ObjStore_S3::end_response() { - s->formatter->close_section(); rgw_flush_formatter_and_reset(s, s->formatter); }