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 18 days 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 12 days ago
- Assignee set to Ronen Friedman
IIRC Ronen is already working on start orchestration between deep- and shallow-scrubs,