]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/multisite: RunBucketSourcesSync no longer takes optional target
authorCasey Bodley <cbodley@redhat.com>
Mon, 22 Nov 2021 18:05:40 +0000 (13:05 -0500)
committerCasey Bodley <cbodley@redhat.com>
Fri, 27 May 2022 19:47:33 +0000 (15:47 -0400)
commit91fe8d464a15d2a01f784431ea3bb965646badb9
treeb14bf77c644f5475c3234677bf1c2e5428cc056a
parenta0e9a59246f546410ab5cf61cede939c7fe9422d
rgw/multisite: RunBucketSourcesSync no longer takes optional target

RGWDataSyncSingleEntryCR is the only caller of RGWRunBucketSourcesSyncCR

it always provides a source_bs, and never provides a target_bs. so remove
all the complexity related to target_bs, and the idea that we'd need to
sync several source bucket shards related to the target bucket

we now just have the single loop over the target buckets that use the
given bucket as a source

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_data_sync.cc