]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: prevent 'radosgw-admin bucket reshard' if zonegroup reshard is disabled
authorCasey Bodley <cbodley@redhat.com>
Wed, 9 Feb 2022 21:55:38 +0000 (16:55 -0500)
committerCasey Bodley <cbodley@redhat.com>
Fri, 27 May 2022 19:47:33 +0000 (15:47 -0400)
commit85c091588f7b9c3fd2fc9584bafb396150076890
treeaedb2a5b4f74dc5b51d810b2efe5e13aea148a4f
parent24431e07b22688669ea8451028a8d3cc1b98047d
rgw: prevent 'radosgw-admin bucket reshard' if zonegroup reshard is disabled

dynamic reshard was gated behind the zonegroup resharding flag with
RGWSI_Zone::can_reshard(), but manual reshard was only calling
RGWBucketReshard::can_reshard()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_admin.cc