Skip to content

Commit

Permalink
mon: A PG with PG_STATE_REPAIR doesn't mean damaged data, PG_STATE_IN…
Browse files Browse the repository at this point in the history
…CONSISTENT does

Fixes: http://tracker.ceph.com/issues/38070

Signed-off-by: David Zafman <dzafman@redhat.com>
  • Loading branch information
dzafman committed Jan 28, 2019
1 parent 7423960 commit a4b1574
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/mon/PGMap.cc
Expand Up @@ -2341,7 +2341,6 @@ void PGMap::get_health_checks(
// Immediate reports
{ PG_STATE_INCONSISTENT, {DAMAGED, {}} },
{ PG_STATE_INCOMPLETE, {UNAVAILABLE, {}} },
{ PG_STATE_REPAIR, {DAMAGED, {}} },
{ PG_STATE_SNAPTRIM_ERROR, {DAMAGED, {}} },
{ PG_STATE_RECOVERY_UNFOUND, {DAMAGED, {}} },
{ PG_STATE_BACKFILL_UNFOUND, {DAMAGED, {}} },
Expand Down

0 comments on commit a4b1574

Please sign in to comment.