]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
reshard: small fix and cleanup
authorliangmingyuan <liangmingyuan@baidu.com>
Fri, 22 Mar 2024 01:14:35 +0000 (09:14 +0800)
committerliangmingyuan <liangmingyuan@baidu.com>
Mon, 22 Jul 2024 01:19:25 +0000 (09:19 +0800)
commit8f68b3fdaec504ab476b6391062ce5c15747fdf8
treefe6ed6d28f7ca5e7fe55d8bbbf9e07b80f6862bd
parent5e7de76407c6f782f1aa5e53376669bbe4689ade
reshard: small fix and cleanup

At the end of each stage, finish() will be called once to guarantee
all entries can be flushed to dst shards. This may costs long time
if the counts of dst shards is vast, especially in second stage,
so renew reshard_lock is needed.

Signed-off-by: Mingyuan Liang <liangmingyuan@baidu.com>
src/cls/rgw/cls_rgw.cc
src/cls/rgw/cls_rgw_client.cc
src/cls/rgw/cls_rgw_client.h
src/rgw/driver/rados/rgw_rados.cc
src/rgw/driver/rados/rgw_rados.h
src/rgw/driver/rados/rgw_reshard.cc
src/rgw/driver/rados/rgw_reshard.h