]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/scrub: discard ReplicaIdle sub-states
authorRonen Friedman <rfriedma@redhat.com>
Mon, 25 Mar 2024 14:27:31 +0000 (09:27 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Tue, 9 Apr 2024 11:00:42 +0000 (06:00 -0500)
commit64f6c2c1f0b4a1e3aa42ba9116ec2bafb57d018d
tree10dc4bf05ecdd0ad578429333f3f887956720fde
parentdabcb1c3bc31ee179a3849559b7b57553996adb7
osd/scrub: discard ReplicaIdle sub-states

The 'reservation requested' & 'reservation was granted' states
are now maintained directly in the ReplicaActive state.

'StartReplica' (or 'do process a chunk') - the last event
handled by the sub-states - is now handled by ReplicaIdle.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit 03a2f8c1113cb12fd19f678ab0353a30ed331c47)
src/osd/scrubber/scrub_machine.cc
src/osd/scrubber/scrub_machine.h