]> git.apps.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>
Fri, 7 Dec 2018 15:00:17 +0000 (16:00 +0100)
commit3ddcf5657b7defc43a9d5b49d4520d0b92ff9dd0
treee089956c1b1c365375c0954084d78ae4fe9c3c7a
parent5f23c471bb5db10ad27e7ee8622a9dc218d6d621
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