]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: store timestamp in InitBucketShardSyncStatus
authorCasey Bodley <cbodley@redhat.com>
Tue, 31 Mar 2020 13:23:05 +0000 (09:23 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 13 Apr 2020 15:06:46 +0000 (11:06 -0400)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_data_sync.cc

index 62a280ee14ef6aada35b6b233fa1a366ceadfa90..4d6200a00072430845bc41ce46c7c88eb87af2b1 100644 (file)
@@ -2811,6 +2811,7 @@ public:
             status.state = rgw_bucket_shard_sync_info::StateIncrementalSync;
           }
           write_status = true;
+          status.inc_marker.timestamp = ceph::real_clock::now();
         }
 
         if (write_status) {