]> 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)
committerAdam C. Emerson <aemerson@redhat.com>
Tue, 1 Feb 2022 23:02:52 +0000 (18:02 -0500)
commite653337f82af7532956bc09731dcdfa3fded1f64
tree3608e7c6d5671fb06cce3e0beba0950dc35c5b1f
parent53d881d9097b999ec7cd393b6f2857699cba6bab
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