]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/scrubber/pg_scrubber.cc: fix bug where scrub machine gets stuck 46845/head
authorCory Snyder <csnyder@iland.com>
Fri, 17 Jun 2022 08:29:03 +0000 (04:29 -0400)
committerRonen Friedman <rfriedma@redhat.com>
Sat, 25 Jun 2022 07:35:23 +0000 (10:35 +0300)
commit73950d303d752899b3954ed1620926bb695cfb87
treebef5a6e40b1c9b5e61267a3d26f1e6f4425f28b3
parenta9a4b1eb0b49289bd8f331e56db1feb7c8781a0c
osd/scrubber/pg_scrubber.cc: fix bug where scrub machine gets stuck

Fixes a scenario where the scrub machine gets stuck if starting
a deep scrub while the noscrub flag is set. It was dropping a
scrub reschedule op, without clearing scrub state, leaving the FSM
stuck in ActiveScrubbing,PendingTimer state.

Fixes: https://tracker.ceph.com/issues/54172
Signed-off-by: Cory Snyder <csnyder@iland.com>
(cherry picked from commit a46a61fdf795af93566dfb8fd92b0b18811083b6)
src/osd/pg_scrubber.cc