Skip to content

Commit 34f8306

Browse files
author
Shilpa Jagannath
committed
rgw/multisite: no need to capture error from callback. we are already doing that within
RGWDataFullSyncSingleEntryCR() Signed-off-by: Shilpa Jagannath <[email protected]>
1 parent ed33120 commit 34f8306

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/rgw/driver/rados/rgw_data_sync.cc

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1866,12 +1866,7 @@ class RGWDataFullSyncShardCR : public RGWDataBaseSyncShardCR {
18661866
error_repo, entry_timestamp, lease_cr,
18671867
bucket_shard_cache, &*marker_tracker, tn),
18681868
sc->lcc.adj_concurrency(cct->_conf->rgw_data_sync_spawn_window),
1869-
[&](uint64_t stack_id, int ret) {
1870-
if (ret < 0) {
1871-
retcode = ret;
1872-
}
1873-
return retcode;
1874-
});
1869+
std::nullopt);
18751870
}
18761871
sync_marker.marker = iter->first;
18771872
}

0 commit comments

Comments
 (0)