]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/multisite: Don't rerun recovery periodically 63759/head
authorAdam C. Emerson <aemerson@redhat.com>
Thu, 5 Jun 2025 17:09:36 +0000 (13:09 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Thu, 19 Jun 2025 17:02:01 +0000 (13:02 -0400)
Recovery is so conservative it creates many, many datalog entries,
slowing sync.

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

index 6cf00adc73e9142c05cbd83aebf1ce50fbc5e922..d68ce48aec794a22cfdaad40b4b550aa4c2c370f 100644 (file)
@@ -1464,11 +1464,6 @@ asio::awaitable<void> RGWDataChangesLog::renew_run(decltype(renew_signal)) {
        ++run;
       }
 
-      if (ceph::mono_clock::now() - last_recovery < 6h)  {
-       co_await recover(&dp, recovery_signal);
-      };
-
-
       int interval = cct->_conf->rgw_data_log_window * 3 / 4;
       renew_timer->expires_after(std::chrono::seconds(interval));
       co_await renew_timer->async_wait(asio::use_awaitable);