]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/multisite: no need to capture error from callback. we are already doing that... 62307/head
authorShilpa Jagannath <smanjara@redhat.com>
Mon, 9 Sep 2024 19:55:13 +0000 (15:55 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Fri, 14 Mar 2025 18:04:19 +0000 (14:04 -0400)
RGWDataFullSyncSingleEntryCR()

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
(cherry picked from commit 34f8306fe5c1bfb90c57f2453a0624af4c2ac6c7)

Fixes: https://tracker.ceph.com/issues/68298
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/rgw/driver/rados/rgw_data_sync.cc

index 5d3d967de550702c75bfa53af00eca28ce506578..b4b725e519285b25b63721f9f30775800417d8ef 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;
         }