]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/scrub: no 'ScrubFinish' transition in ActiveReplica state 48551/head
authorRonen Friedman <rfriedma@redhat.com>
Wed, 19 Oct 2022 09:49:39 +0000 (12:49 +0300)
committerRonen Friedman <rfriedma@redhat.com>
Sun, 4 Dec 2022 13:21:31 +0000 (15:21 +0200)
That event is not generated for a replica.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/osd/scrubber/scrub_machine.h

index 6236fa5d23f6827089825e1fa8f6ccaa696a0f67..3303124f0cb6e1c7ff7156a5de8bd63a451d58ae 100644 (file)
@@ -379,8 +379,7 @@ struct ReplicaWaitUpdates : sc::state<ReplicaWaitUpdates, ScrubMachine>,
 struct ActiveReplica : sc::state<ActiveReplica, ScrubMachine>, NamedSimply {
   explicit ActiveReplica(my_context ctx);
   using reactions = mpl::list<sc::custom_reaction<SchedReplica>,
-                             sc::custom_reaction<FullReset>,
-                             sc::transition<ScrubFinished, NotActive>>;
+                             sc::custom_reaction<FullReset>>;
 
   sc::result react(const SchedReplica&);
   sc::result react(const FullReset&);