]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mon/pgmap: update pool nearfull display
authorhuanwen ren <rhwlyw@163.com>
Wed, 16 Aug 2017 07:38:34 +0000 (15:38 +0800)
committerGitHub <noreply@github.com>
Wed, 16 Aug 2017 07:38:34 +0000 (15:38 +0800)
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 <ren.huanwen@zte.com.cn>
src/mon/PGMap.cc

index 9ec7d8f8a834ada0d49401d695b4a2bfd1117e40..8482538b18688cc966e57428a2496944b0756288 100644 (file)
@@ -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);
     }