]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
radosgw-admin: try reshard even if bucket is resharding 51836/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:21:40 +0000 (09:21 -0400)
commit329d99979adac614501ebdca28b7a2a6ee6cd5db
tree5b625dd5ddd22180b5699788f7dd6cb86a4fc8bc
parentd8c5d34975dce1c5eb0aa3a7979a4d9b9a99d1ec
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