]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/scrub: handle Release messages directly in ReplicaIdle
authorRonen Friedman <rfriedma@redhat.com>
Mon, 25 Mar 2024 13:06:41 +0000 (08:06 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Tue, 2 Apr 2024 11:16:01 +0000 (06:16 -0500)
commit765d4750e2d6c833871540ee446f4208908c9f83
tree3adb34590a7d950f1d798e3abf4fae7be8c2e589
parentec381fa4c0537cb546bd17a30516b7c193ee5c27
osd/scrub: handle Release messages directly in ReplicaIdle

The expected path is that the scrubber will be in the ReplicaIdle
sub-state. If, however, we are processing a chunk (ReplicaActiveOp) -
the scrub is aborted, and the scrubber is returned to the ReplicaIdle.

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