]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: don't use other zone's shard count for forwarded CreateBucket requests
authorCasey Bodley <cbodley@redhat.com>
Tue, 26 Jul 2022 15:48:05 +0000 (11:48 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 6 Nov 2023 16:07:23 +0000 (11:07 -0500)
commitbac9bbeaac4c661cd930d0184422d7b4733e8310
tree3de3cc768865bf1b8db1b9c90b86f4d9a8976f09
parent019e60d68050f53fbd8b1679e6e835f4c164473d
rgw: don't use other zone's shard count for forwarded CreateBucket requests

multisite no longer requires shard counts to match between zones. each
zone can configure its own default index shard count, so ignore the shard
counts that come from the metadata master zone

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/driver/rados/rgw_bucket.cc
src/rgw/driver/rados/rgw_bucket.h
src/rgw/driver/rados/rgw_rados.cc
src/rgw/driver/rados/rgw_rados.h
src/rgw/driver/rados/rgw_sal_rados.cc