From 82bc7eb02baaa06cfc3a58ccd172c421613524b5 Mon Sep 17 00:00:00 2001 From: Shilpa Jagannath Date: Mon, 19 Aug 2024 16:03:11 -0400 Subject: [PATCH] rgw/multisite: initialize sync_status in RGWDataFullSyncSingleEntryCR ctor Signed-off-by: Shilpa Jagannath --- src/rgw/driver/rados/rgw_data_sync.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rgw/driver/rados/rgw_data_sync.cc b/src/rgw/driver/rados/rgw_data_sync.cc index 151fd7fe84e86..58f5cd0690c46 100644 --- a/src/rgw/driver/rados/rgw_data_sync.cc +++ b/src/rgw/driver/rados/rgw_data_sync.cc @@ -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 _lease_cr, boost::intrusive_ptr _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); } -- 2.39.5