]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/.../background_recovery: use epoch_started for interruption
authorSamuel Just <sjust@redhat.com>
Thu, 4 Jul 2024 03:46:46 +0000 (20:46 -0700)
committerMatan Breizman <mbreizma@redhat.com>
Thu, 25 Jul 2024 07:53:41 +0000 (10:53 +0300)
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 61826ec15b744001e667a16e6a90fd2452af360c)

src/crimson/osd/osd_operations/background_recovery.cc

index f74933ec26600228cd49513fc8d30825956ad484..3913f061250f2498c8de4c7f3cbd0f1e70f5da98 100644 (file)
@@ -86,7 +86,7 @@ seastar::future<> BackgroundRecoveryT<T>::start()
             return do_recovery();
           }, [](std::exception_ptr) {
             return seastar::make_ready_future<bool>(false);
-          }, pg);
+          }, pg, epoch_started);
         }).handle_exception_type([ref, this](const std::system_error& err) {
          LOG_PREFIX(BackgroundRecoveryT<T>::start);
           if (err.code() == std::make_error_code(std::errc::interrupted)) {