Bug #59512
openDraining scrubbing seems impossible
0%
Description
I would like to temporarily halt scrubbing. I ran
ceph osd set noscrub ceph osd set nodeep-scrub
but observe in "ceph status" that
4 active+clean+scrubbing+deep
and at the same time, "iostat -x 5" indicates that there is no IO at all, so no deep-scrubbing can be going on.
This indicates that it is impossible to drain scrubbing from a cluster.
Updated by Niklas Hambuechen about 1 year ago
Background in my case:
I would like to drain all ongoing scrubs because I wish to change "osd_deep_scrub_stride" and https://tracker.ceph.com/issues/58240 / https://github.com/ceph/ceph/commit/db8d185288d0e9602f654c89b7f18f8be45de3d0 suggests thta in my Ceph version, I should better first stop all ongoing scrubs.
But I think in general the fact that scrubbing cannot be drained looks like a bug.
There is also the tangentially related issue https://tracker.ceph.com/issues/11202 but that is about instanteneous stopping of scrubs, not draining.
Updated by Niklas Hambuechen about 1 year ago
I suspect that this is simply https://tracker.ceph.com/issues/54172#note-14
See also: https://tracker.ceph.com/issues/59513
Feel free to close if this makes sense.