]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/scrub: add a "clean primary" base state
authorRonen Friedman <rfriedma@redhat.com>
Thu, 21 Dec 2023 17:29:09 +0000 (11:29 -0600)
committerRonen Friedman <rfriedma@redhat.com>
Thu, 28 Dec 2023 20:58:05 +0000 (14:58 -0600)
commitbde52ebef19bc0d3fd3382926df6e202fbb79a53
tree60341581c871c298d563e2fe7d0403a604c50134
parentc31b795210d104c27c10d21384cd0b2fdbd3aa89
osd/scrub: add a "clean primary" base state

... to the scrubber state machine.

Similar to ReplicaActive, this state is entered after the peering
is concluded and the PG is set to be Primary, active & clean.

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