trigger osd scrub automatically
Not sure if this should be something the mon does (simpler for managing a systemwide scrub policy) or the OSD should do automatically (more scalable). Probably the latter. Any errors will get reported back to the monitor, of course.
Need to decide what constitutdes "the schedule". Just a frequency I guess? g_conf.osd_scrub_interval? Should it (eventually) try to avoid times of high load?
#1 Updated by Wido den Hollander about 10 years ago
To start with a regular or pseudo-regular interval should be fine, but in larger setups I think a calculation an basis of the load should be more efficient.
And if an OSD triggers the scrub itself, couldn't you get the situation where ALL your OSD's are scrubbing itself thus causing a lot of load inside your cluster?
If could also be a continues process where the mon scrub's all the OSD's one by one, waits for a specified interval and then scrub's them all again.