From: huanwen ren Date: Wed, 16 Aug 2017 07:38:34 +0000 (+0800) Subject: mon/pgmap: update pool nearfull display X-Git-Tag: v13.0.0~78^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=63dc57649aec8bec27782ac37d5fde133c34df53;p=ceph-ci.git mon/pgmap: update pool nearfull display if "pool full" and "pool nearfull" show the same, we will not be able to distinguish between these two scenes in health check. Signed-off-by: huanwen ren --- diff --git a/src/mon/PGMap.cc b/src/mon/PGMap.cc index 9ec7d8f8a83..8482538b186 100644 --- a/src/mon/PGMap.cc +++ b/src/mon/PGMap.cc @@ -3068,7 +3068,7 @@ void PGMap::get_health_checks( } if (nearfull_pools) { ostringstream ss; - ss << nearfull_pools << " pools full"; + ss << nearfull_pools << " pools nearfull"; auto& d = checks->add("POOL_NEAR_FULL", HEALTH_WARN, ss.str()); d.detail.swap(nearfull_detail); }