Bug #65227
opennoscrub cluster flag prevents deep-scrubs from starting
0%
Description
Observed on a 17.2.7 cluster and confirmed on an additional 17.2.7 cluster.
Reproduction steps:
- On a cluster that reliably will have scrubs in flight set both the noscrub and nodeep-scrub flags.
- As expected ongoing scrubs and deep-scrubs will begin to be cancelled immediately and PGs that were scrubbing will be no longer.
- Unset the nodeep-scrub flag only (leave noscrub set) - at this point I would expect deep scrubs to be allowed but shallow scrubs not to be.
- Unset the "noscrub" flag as well. At this point deep-scrubs will begin on the cluster.
Expected behavior:
"noscrub" flag prevents shallow (non-deep) scrubs from starting but does not control deep scrubs.
Updated by junxiang mu about 1 month ago
https://github.com/ceph/ceph/blob/main/doc/dev/osd_internals/scrub.rst
https://github.com/ceph/ceph/blob/v17.2.7/src/osd/scrubber/pg_scrubber.cc#L138
noscrub flag do not prevents deep-scrub,they don't affect each other
Updated by Radoslaw Zarzynski 24 days ago
- Assignee set to Ronen Friedman
IIRC Ronen is already working on start orchestration between deep- and shallow-scrubs,
Updated by Ronen Friedman 8 days ago
- Status changed from New to Need More Info
I am not able to reproduce the problem. Can you attach debug logs (including of the commands used to recreate the scenario)?