]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/scrub: allow replicas to scrub even if OSD has recovery in progress
authorRonen Friedman <rfriedma@redhat.com>
Tue, 9 Jan 2024 12:51:46 +0000 (06:51 -0600)
committerRonen Friedman <rfriedma@redhat.com>
Wed, 10 Jan 2024 08:57:32 +0000 (10:57 +0200)
commit2a6ce1341a58bba227efb6a916cdb98e85a0af1a
tree856da04b547745508217431ef6e267b4482a3e91
parent08f43475587fa64c4715d7e89e180d1ae69e125f
osd/scrub: allow replicas to scrub even if OSD has recovery in progress

Limit the check ("not scrubbing if the OSD is performing recovery on
some PG") to the primary OSD. Otherwise - a small number of backfills may
prevent a large number of PGs from scrubbing.

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