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=76a35c17973ab339f17add69c2cc3b84a3b3f19b;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 1b5ce757c1be..d29848a5a9fb 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