]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/scrub: fix replica sub-states
authorRonen Friedman <rfriedma@redhat.com>
Sun, 12 Nov 2023 11:12:31 +0000 (05:12 -0600)
committerRonen Friedman <rfriedma@redhat.com>
Sat, 18 Nov 2023 17:44:32 +0000 (11:44 -0600)
commit77a4e0b2e1c3aea71ebf5001c877e9f2e885ce22
tree92b6c9ad5c98f8bd8ed31b7d76fef23e5c2c70d4
parent6adc03ac3718e0fe36fb2fc7c2432211158b407b
osd/scrub: fix replica sub-states

The replica states hierarchy was not properly specified.
Fixing it here.
Also - removing the (never yet invoked) call to
replica_handling_done() in the replica state machine.
That call must precede the reply to the Primary.

Fixes: https://tracker.ceph.com/issues/63509
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/osd/scrubber/scrub_machine.cc
src/osd/scrubber/scrub_machine.h