]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw/multisite: no need to capture error from callback. we are already doing that...
authorShilpa Jagannath <smanjara@redhat.com>
Mon, 9 Sep 2024 19:55:13 +0000 (15:55 -0400)
committerShilpa Jagannath <smanjara@redhat.com>
Tue, 10 Sep 2024 16:57:07 +0000 (12:57 -0400)
RGWDataFullSyncSingleEntryCR()

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
src/rgw/driver/rados/rgw_data_sync.cc

index c509443f8001e52209625d1712bc13ce6664eec9..aaab19131bcc7ea0dd0ad8fc09d22db1bb61c757 100644 (file)
@@ -1866,12 +1866,7 @@ public:
                                 error_repo, entry_timestamp, lease_cr,
                                 bucket_shard_cache, &*marker_tracker, tn),
                               sc->lcc.adj_concurrency(cct->_conf->rgw_data_sync_spawn_window),
-                              [&](uint64_t stack_id, int ret) {
-                                if (ret < 0) {
-                                  retcode = ret;
-                                }
-                                return retcode;
-                                });
+             std::nullopt);
           }
           sync_marker.marker = iter->first;
         }