]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
radosgw-admin: try reshard even if bucket is resharding 51835/head
authorCasey Bodley <cbodley@redhat.com>
Mon, 1 Feb 2021 17:02:44 +0000 (12:02 -0500)
committerCasey Bodley <cbodley@redhat.com>
Tue, 30 May 2023 13:16:41 +0000 (09:16 -0400)
commitbcfa469d35628341a5423f966fab165ce6179d85
treefb95bfef355e5c14b4f28316b721acf08646fcee
parent499092470cf47907789dcd87bbdc8ae74fac5ce5
radosgw-admin: try reshard even if bucket is resharding

allow reshard in case a previous reshard failed. if the reshard is
actually still in progress, we'll fail to get the reshard lock

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 122da8f14a1dae247a5f2f62a3a6e219a9c9de8f)

Conflicts:
src/rgw/rgw_admin.cc  no rgw::current_num_shards()
src/rgw/rgw_admin.cc