]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: fix rados bucket merge and store attrs
authorlightmelodies <lightmelodies@outlook.com>
Fri, 15 Sep 2023 03:25:02 +0000 (03:25 +0000)
committerPritha Srivastava <prsrivas@redhat.com>
Mon, 11 Nov 2024 11:00:32 +0000 (16:30 +0530)
commiteafe4ac81b787a2573b16036ac987822cbe0161c
tree724ef20a175cdea1a151f4f0b4e54fe475b01013
parent505f1a67a9238cdf4845a4f4b5bdbeeaf0f908c4
rgw: fix rados bucket merge and store attrs

The original code pass `new_attrs` as argument, which will overwrite existing attrs.
(e.g. set bucket ratelimit will break all bucket policy and acl settings)

Signed-off-by: Wei Wang <lightmelodies@outlook.com>
src/rgw/driver/rados/rgw_sal_rados.cc