From 8557cb320ec56a67687cfd68dda3ee6c187d0c50 Mon Sep 17 00:00:00 2001 From: Ronen Friedman Date: Wed, 19 Oct 2022 12:49:39 +0300 Subject: [PATCH] osd/scrub: no 'ScrubFinish' transition in ActiveReplica state That event is not generated for a replica. Signed-off-by: Ronen Friedman --- src/osd/scrubber/scrub_machine.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/osd/scrubber/scrub_machine.h b/src/osd/scrubber/scrub_machine.h index 6236fa5d23f68..3303124f0cb6e 100644 --- a/src/osd/scrubber/scrub_machine.h +++ b/src/osd/scrubber/scrub_machine.h @@ -379,8 +379,7 @@ struct ReplicaWaitUpdates : sc::state, struct ActiveReplica : sc::state, NamedSimply { explicit ActiveReplica(my_context ctx); using reactions = mpl::list, - sc::custom_reaction, - sc::transition>; + sc::custom_reaction>; sc::result react(const SchedReplica&); sc::result react(const FullReset&); -- 2.39.5