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-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F17043%2Fhead;p=ceph.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 9ec7d8f8a834..8482538b1868 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); }