]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/.../scrub_events: use epoch at which operation was scheduled for interruption
authorSamuel Just <sjust@redhat.com>
Thu, 4 Jul 2024 03:45:39 +0000 (20:45 -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 45b7aafd0906542449d91e6cb52e7e5baaca6505)

src/crimson/osd/osd_operations/scrub_events.cc

index 2640456bf95418f51e905dd12627d9a9068e4a5b..38bd199cfc9b2def7ebe86f7a607a8e00e99ba4c 100644 (file)
@@ -56,7 +56,7 @@ seastar::future<> RemoteScrubEventBaseT<T>::with_pg(
     });
   }, [FNAME, pg, this](std::exception_ptr ep) {
     DEBUGDPP("{} interrupted with {}", *pg, *that(), ep);
-  }, pg);
+  }, pg, epoch);
 }
 
 ScrubRequested::ifut<> ScrubRequested::handle_event(PG &pg)