]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: clean up unused bucket index shards
authorJ. Eric Ivancich <ivancich@redhat.com>
Tue, 20 Nov 2018 14:52:39 +0000 (09:52 -0500)
committerAbhishek Lekshmanan <abhishek@suse.com>
Wed, 6 Mar 2019 15:54:38 +0000 (16:54 +0100)
commit2f4ed161e1dd6d619f301f593a947713e1f9a3fc
tree45f3f159933f147571b56eacc4107d68b1c217bd
parent4da3f5fe9a1c64a73cdc33e54562d6a1deea3abe
rgw: clean up unused bucket index shards

Clean up old bucket index shards when a resharding is complete. Also,
when a resharding fails, clean up unfinished bucket index shards. Do
both clean-ups asynchronously.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit f84f70d451036ee99011b8e2c7b974f15d3a005a)

 Conflicts:
src/rgw/rgw_rados.h
merge conflict as bucket_placement functions were moved after the rgw rados
refactor
src/cls/rgw/cls_rgw_client.cc
src/cls/rgw/cls_rgw_client.h
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h
src/rgw/rgw_reshard.cc