]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/scrubber/pg_scrubber.cc: fix bug where scrub machine gets stuck 46727/head
authorCory Snyder <csnyder@iland.com>
Fri, 17 Jun 2022 08:29:03 +0000 (04:29 -0400)
committerCory Snyder <csnyder@iland.com>
Fri, 17 Jun 2022 08:29:06 +0000 (04:29 -0400)
commita46a61fdf795af93566dfb8fd92b0b18811083b6
tree9742991a6e8751b0ef19c67aed68f9cca62e078c
parent4e94f27cf56fb96cac9facd910cc9d046ba5b600
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>
src/osd/scrubber/pg_scrubber.cc