]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/multisite: initialize sync_status in RGWDataFullSyncSingleEntryCR ctor 59329/head
authorShilpa Jagannath <smanjara@redhat.com>
Mon, 19 Aug 2024 20:03:11 +0000 (16:03 -0400)
committerShilpa Jagannath <smanjara@redhat.com>
Mon, 19 Aug 2024 20:07:44 +0000 (16:07 -0400)
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
src/rgw/driver/rados/rgw_data_sync.cc

index 151fd7fe84e869549d4a71476ebd64a2ee74c5cf..58f5cd0690c46d9bbdb0981d4a3a9f3883941d02 100644 (file)
@@ -1646,13 +1646,13 @@ class RGWDataFullSyncSingleEntryCR : public RGWCoroutine {
 
 public:
   RGWDataFullSyncSingleEntryCR(RGWDataSyncCtx *_sc, const rgw_pool& _pool, const rgw_bucket_shard& _source_bs,
-                      const std::string& _key, const rgw_data_sync_status& sync_status, const rgw_raw_obj& _error_repo,
+                      const std::string& _key, const rgw_data_sync_status& _sync_status, const rgw_raw_obj& _error_repo,
                       ceph::real_time _timestamp, boost::intrusive_ptr<const RGWContinuousLeaseCR> _lease_cr,
                       boost::intrusive_ptr<rgw::bucket_sync::Cache> _bucket_shard_cache,
                       RGWDataSyncShardMarkerTrack* _marker_tracker,
                       RGWSyncTraceNodeRef& _tn)
     : RGWCoroutine(_sc->cct), sc(_sc), sync_env(_sc->env), pool(_pool), source_bs(_source_bs), key(_key),
-      error_repo(_error_repo), timestamp(_timestamp), lease_cr(std::move(_lease_cr)),
+      sync_status(_sync_status), error_repo(_error_repo), timestamp(_timestamp), lease_cr(std::move(_lease_cr)),
       bucket_shard_cache(_bucket_shard_cache), marker_tracker(_marker_tracker), tn(_tn) {
         error_inject = (sync_env->cct->_conf->rgw_sync_data_full_inject_err_probability > 0);
       }