]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: remove destination shard id from rgw_bucket_sync_pair_info
authorCasey Bodley <cbodley@redhat.com>
Wed, 9 Jun 2021 16:26:54 +0000 (12:26 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Wed, 27 Apr 2022 21:42:02 +0000 (17:42 -0400)
commitd52e477df35859af1ec84a7999f52966723a8306
treec7d7c9c7c5bc987b357307be1f66a7830f78b6f4
parent623666117f42ccb4aec73adffb095c18b655cf90
rgw: remove destination shard id from rgw_bucket_sync_pair_info

the sync_pair is used as input to RGWBucketPipeSyncStatusManager::status_oid()
to generate the per-shard sync status object names

this sync status tracks incremental bucket sync, which reads changes
from a source bucket's bilog shard, and copies objects from the remote
source bucket to the local destination bucket

this doesn't require sync to know anything about the destination bucket
shards, so rgw_bucket_sync_pair_info and status_oid() now only track the
the destination's rgw_bucket instead of rgw_bucket_shard

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