Skip to content

Commit 82bc7eb

Browse files
author
Shilpa Jagannath
committed
rgw/multisite: initialize sync_status in RGWDataFullSyncSingleEntryCR ctor
Signed-off-by: Shilpa Jagannath <[email protected]>
1 parent 630f8e0 commit 82bc7eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rgw/driver/rados/rgw_data_sync.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1646,13 +1646,13 @@ class RGWDataFullSyncSingleEntryCR : public RGWCoroutine {
16461646

16471647
public:
16481648
RGWDataFullSyncSingleEntryCR(RGWDataSyncCtx *_sc, const rgw_pool& _pool, const rgw_bucket_shard& _source_bs,
1649-
const std::string& _key, const rgw_data_sync_status& sync_status, const rgw_raw_obj& _error_repo,
1649+
const std::string& _key, const rgw_data_sync_status& _sync_status, const rgw_raw_obj& _error_repo,
16501650
ceph::real_time _timestamp, boost::intrusive_ptr<const RGWContinuousLeaseCR> _lease_cr,
16511651
boost::intrusive_ptr<rgw::bucket_sync::Cache> _bucket_shard_cache,
16521652
RGWDataSyncShardMarkerTrack* _marker_tracker,
16531653
RGWSyncTraceNodeRef& _tn)
16541654
: RGWCoroutine(_sc->cct), sc(_sc), sync_env(_sc->env), pool(_pool), source_bs(_source_bs), key(_key),
1655-
error_repo(_error_repo), timestamp(_timestamp), lease_cr(std::move(_lease_cr)),
1655+
sync_status(_sync_status), error_repo(_error_repo), timestamp(_timestamp), lease_cr(std::move(_lease_cr)),
16561656
bucket_shard_cache(_bucket_shard_cache), marker_tracker(_marker_tracker), tn(_tn) {
16571657
error_inject = (sync_env->cct->_conf->rgw_sync_data_full_inject_err_probability > 0);
16581658
}

0 commit comments

Comments
 (0)