From: Sage Weil Date: Tue, 25 Jul 2017 16:26:04 +0000 (-0400) Subject: mon/PGMap: do not clear checks X-Git-Tag: v12.1.2~52^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F16487%2Fhead;p=ceph.git mon/PGMap: do not clear checks We may be one of many contributors to the checks. Signed-off-by: Sage Weil --- diff --git a/src/mon/PGMap.cc b/src/mon/PGMap.cc index 1b5ce757c1b..d29848a5a9f 100644 --- a/src/mon/PGMap.cc +++ b/src/mon/PGMap.cc @@ -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