Actions
Feature #39362
openignore osd_max_scrubs for forced repair
Status:
New
Priority:
Normal
Assignee:
David Zafman
Category:
Scrub/Repair
Target version:
-
% Done:
0%
Source:
Community (user)
Tags:
Backport:
Reviewed:
Description
On clusters with quite full PGs, it is common (i.e. ~100% sure) that a `ceph pg repair <pgid>` does not start immediately, because the relevant osds have their osd_max_scrubs (default 1) already reserved by deep scrubs.
The unintuitive workaround is:
ceph osd set nodeep-scrub
ceph osd set noscrub
ceph tell osd.* injectargs -- --osd_max_scrubs=2
ceph pg repair ...
ceph tell osd.* injectargs -- --osd_max_scrubs=1
ceph osd unset nodeep-scrub
ceph osd unset noscrub
It would be more intuitive if forced repairs started immediately irrespective of the osd_max_scrubs configuration.
Actions