]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/multisite: the create_bucket forward request omits the 59960/head
authorShilpa Jagannath <smanjara@redhat.com>
Tue, 24 Sep 2024 21:12:02 +0000 (17:12 -0400)
committerShilpa Jagannath <smanjara@redhat.com>
Wed, 8 Jan 2025 17:19:00 +0000 (12:19 -0500)
commit43a6f123e24a772cc48a3a045d2136e13355c2a5
tree2fb347937076acc4a1e2846579db01186ffb14b5
parentcbbddfd41a357d0a727b75f320a4b152ce2d98b8
rgw/multisite: the create_bucket forward request omits the
the request body, thus missing some data if specified inside
CreateBucketConfiguration xml on the non-master zone.
also, now that we perform cksum validation against empty payloads,
such a request would fail with -ERR_AMZ_CONTENT_SHA256_MISMATCH due
to a zero content-length but a non-empty payload hash.
this fix ensures that request body is forwarded during create_bucket

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
src/rgw/rgw_op.cc
src/rgw/rgw_op.h
src/rgw/rgw_rest_s3.cc