]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: automatically scrub PGs with invalid stats 1738/head
authorSage Weil <sage@inktank.com>
Tue, 29 Apr 2014 18:23:58 +0000 (11:23 -0700)
committerSage Weil <sage@inktank.com>
Tue, 29 Apr 2014 18:23:58 +0000 (11:23 -0700)
commit68b440d66539e820c9ce86a6942c3188be4ee1ec
tree1daeebce6cb099dcf0383f0738bd75154fb7bd6a
parent915bd92f501fb628b506ef68416ec89c9aa2534d
osd: automatically scrub PGs with invalid stats

If a PG has recnetly split and has invalid stats, scrub it now, even if
it has scrubbed recently.  This helps the stats become valid again soon.

Fixes: #8147
Signed-off-by: Sage Weil <sage@inktank.com>
src/common/config_opts.h
src/osd/PG.cc