Feature #13142
osd: warning if pg has not been scrubbed for a long time
0%
Description
For large clusters with aggressive throttling on scrubbing, scrubbing might take forever and thus some PG might not be scrubbed for a long time (refer to http://tracker.ceph.com/issues/10796).
It would be nice to have some warnings (through ceph -s ?) when some PGs have not been scrubbed for a long time (a configured interval).
Associated revisions
mon/PGMonitor.cc:warning if pg not scrubbed
Added 2 flags for displaying a warning when pg is unscrubbed:
mon report not scrubbed
mon report not deep scrubbed
Each of them specifies the amount of time past the mon_scrub_interval
after which an unscrubbed pg is displayed:
ceph -s -for number of unscrubbed pgs
ceph health -for number of unscrubbed pgs
ceph health detail -for detailed list of unscrubbed pgs
Both flags are set to 0 by default, which means they are turned off.
Fixes: #13142
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
History
#1 Updated by Michal Jarzabek over 8 years ago
I can have a look
#2 Updated by Michal Jarzabek over 8 years ago
#3 Updated by Nathan Cutler over 8 years ago
- Status changed from New to Fix Under Review
#4 Updated by Kefu Chai about 8 years ago
- Status changed from Fix Under Review to Resolved