]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/PGMap: do not clear checks 16487/head
authorSage Weil <sage@redhat.com>
Tue, 25 Jul 2017 16:26:04 +0000 (12:26 -0400)
committerSage Weil <sage@redhat.com>
Tue, 25 Jul 2017 16:29:20 +0000 (12:29 -0400)
We may be one of many contributors to the checks.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/PGMap.cc

index 1b5ce757c1be00fe2d36efd387e04fb38ac294a6..d29848a5a9fbdc6afd7b796f8f306b428d7bbae0 100644 (file)
@@ -2562,8 +2562,6 @@ void PGMap::get_health_checks(
   const unsigned max = cct->_conf->mon_health_max_detail;
   const auto& pools = osdmap.get_pools();
 
-  checks->clear();
-
   typedef enum pg_consequence_t {
     UNAVAILABLE = 1,   // Client IO to the pool may block
     DEGRADED = 2,      // Fewer than the requested number of replicas are present