From: Sage Weil Date: Thu, 27 Jul 2017 17:54:29 +0000 (-0400) Subject: mon/PGMap: 'incomplete' means data is unavailable X-Git-Tag: v12.1.2~12^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3789f46ead898a91b359ad5e4dace4e4173519e1;p=ceph.git mon/PGMap: 'incomplete' means data is unavailable Well, data is certainly unavailable, and may also be degraded in the sense that we can't peer. I think unavailable is the more severe of the two, though, so let's put it there! Signed-off-by: Sage Weil --- diff --git a/src/mon/PGMap.cc b/src/mon/PGMap.cc index 1b5ce757c1be..5d9f4bb8003d 100644 --- a/src/mon/PGMap.cc +++ b/src/mon/PGMap.cc @@ -2609,7 +2609,7 @@ void PGMap::get_health_checks( std::map state_to_response = { // Immediate reports { PG_STATE_INCONSISTENT, {DAMAGED, {}} }, - { PG_STATE_INCOMPLETE, {DEGRADED, {}} }, + { PG_STATE_INCOMPLETE, {UNAVAILABLE, {}} }, { PG_STATE_REPAIR, {DAMAGED, {}} }, { PG_STATE_SNAPTRIM_ERROR, {DAMAGED, {}} }, { PG_STATE_BACKFILL_TOOFULL, {DEGRADED, {}} },