]> 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)
committerCasey Bodley <cbodley@redhat.com>
Fri, 27 May 2022 19:47:32 +0000 (15:47 -0400)
commitdc8ae698ad848b84ba009f9c33c4711315afa27b
treea290c64e364e333a66c4c9dc92b301ae8604fdbc
parent9ad677b965870fcafa6e58ef67dfd220138f7ed9
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