]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/sync: track last_update timestamp per-shard instead of per-entry 61418/head
authorCasey Bodley <cbodley@redhat.com>
Tue, 21 May 2024 15:03:04 +0000 (11:03 -0400)
committerCasey Bodley <cbodley@redhat.com>
Wed, 29 Jan 2025 17:12:21 +0000 (12:12 -0500)
commit37c1522bb395b2afbf9eb5c9857f1a4bc0fe9773
tree8c4fde915692cc71fbf2c579c8695d9330f16f5c
parent2a8d84ecf6b54db1523acabd776e81161c67a968
rgw/sync: track last_update timestamp per-shard instead of per-entry

this way, store_entry() always uses the latest value from the remote
instead of the value from when we fetched the given datalog entry

since this last_update timestamp only applies to data incremental sync,
all related logic was moved out of the base class into RGWDataSyncShardMarkerTrack

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