From 3789f46ead898a91b359ad5e4dace4e4173519e1 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 27 Jul 2017 13:54:29 -0400 Subject: [PATCH] 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 --- src/mon/PGMap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mon/PGMap.cc b/src/mon/PGMap.cc index 1b5ce757c1be0..5d9f4bb8003d1 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, {}} }, -- 2.39.5