]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: simplify PG health checks
authorJohn Spray <john.spray@redhat.com>
Tue, 4 Jul 2017 13:52:59 +0000 (09:52 -0400)
committerSage Weil <sage@redhat.com>
Wed, 12 Jul 2017 16:52:03 +0000 (12:52 -0400)
commit86365823fec036fe018407af0d873fc68a7c5863
tree584477ab9d3883161acc8a854a08843f8ba02fe2
parent397d3b935019c6290b922933f39e956104466e4d
mon: simplify PG health checks

Instead of a distinct health check for each possible
PG state, group the states into categories for availability,
degraded, damage, and report on that.

That way, while a PG/pool is suffering from one of those
bad PG states, health conditions don't keep toggling on and
off as we transition from one unavailable state to another
unavailable state.

Signed-off-by: John Spray <john.spray@redhat.com>
src/mon/PGMap.cc