]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix assert crash in RGWDeleteMultiObj end_response() 68740/head
authorShilpa Jagannath <smanjara@redhat.com>
Mon, 4 May 2026 20:16:35 +0000 (16:16 -0400)
committerShilpa Jagannath <smanjara@redhat.com>
Mon, 4 May 2026 20:16:35 +0000 (16:16 -0400)
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 <smanjara@redhat.com>
src/rgw/rgw_rest_s3.cc

index b3cb03fef733062efb11d8b100a9eedd65d9d896..e78fe651c6b0f491eaf20e6e9c4d805e5c2c5611 100644 (file)
@@ -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);
 }