]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: Disentangle init_sync_status from RemoteBucketManager
authorAdam C. Emerson <aemerson@redhat.com>
Wed, 13 Apr 2022 02:10:31 +0000 (22:10 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 27 May 2022 19:47:34 +0000 (15:47 -0400)
commit239c94259907655332ed7a0c6a8b335fe7fbee97
tree2aa2b9793676e6dd2fd6cbd98093572430ebad09
parent70b86258f84e1af2e8e68f7aea0506f3f3196a61
rgw: Disentangle init_sync_status from RemoteBucketManager

RGWRemoteBucketManager's current design isn't really compatible with
what we need for bucket sync run to work as the number of shards
changes from run to run.

We can make a smaller 'hold information common to all three
operations' class and simplify things a bit.

We also need to fetch `rgw_bucket_index_marker_info` and supply it to
`InitBucketFullSyncStatusCR` to ensure we have the correct generation
and shard count.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/rgw/rgw_data_sync.cc