]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
PG::_compare_scrubmaps: increment scrubber.errors on missing object
authorSamuel Just <sam.just@inktank.com>
Fri, 21 Dec 2012 23:16:19 +0000 (15:16 -0800)
committerSamuel Just <sam.just@inktank.com>
Fri, 21 Dec 2012 23:16:19 +0000 (15:16 -0800)
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/PG.cc

index 036cca5e94771f4dc88b7f01341a551511d3ed4e..b947f02c2f2c2bab3c268d54641b9462327031a9 100644 (file)
@@ -4115,6 +4115,7 @@ void PG::_compare_scrubmaps(const map<int,ScrubMap*> &maps,
        }
       } else {
        cur_missing.insert(j->first);
+       ++scrubber.errors;
        errorstream << info.pgid
                    << " osd." << acting[j->first] 
                    << " missing " << *k << std::endl;