]> 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)
committerJ. Eric Ivancich <ivancich@redhat.com>
Tue, 20 Nov 2018 18:34:37 +0000 (13:34 -0500)
commitf84f70d451036ee99011b8e2c7b974f15d3a005a
treee89855cad8ebc7101d5dea2c0aa16801f8e01811
parent48e22fb76feffb551074f274986bc4125a02003f
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>
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