]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/PGMap: put the _toofull states under DEGRADED_FULL
authorSage Weil <sage@redhat.com>
Thu, 27 Jul 2017 17:54:46 +0000 (13:54 -0400)
committerSage Weil <sage@redhat.com>
Tue, 1 Aug 2017 13:25:42 +0000 (09:25 -0400)
I think this was an oversight?

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/PGMap.cc

index 5d9f4bb8003d12122919908c34400469081e5262..ecc51ba49d0bed5678c6789b8f419a90d74179e7 100644 (file)
@@ -2612,8 +2612,8 @@ void PGMap::get_health_checks(
     { PG_STATE_INCOMPLETE,       {UNAVAILABLE, {}} },
     { PG_STATE_REPAIR,           {DAMAGED,     {}} },
     { PG_STATE_SNAPTRIM_ERROR,   {DAMAGED,     {}} },
-    { PG_STATE_BACKFILL_TOOFULL, {DEGRADED,    {}} },
-    { PG_STATE_RECOVERY_TOOFULL, {DEGRADED,    {}} },
+    { PG_STATE_BACKFILL_TOOFULL, {DEGRADED_FULL, {}} },
+    { PG_STATE_RECOVERY_TOOFULL, {DEGRADED_FULL, {}} },
     { PG_STATE_DEGRADED,         {DEGRADED,    {}} },
     { PG_STATE_DOWN,             {UNAVAILABLE, {}} },
     // Delayed (wait until stuck) reports