From 76a35c17973ab339f17add69c2cc3b84a3b3f19b Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 25 Jul 2017 12:26:04 -0400 Subject: [PATCH] mon/PGMap: do not clear checks We may be one of many contributors to the checks. Signed-off-by: Sage Weil --- src/mon/PGMap.cc | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.47.3