]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/HealthMonitor: allow muted alert counts to decrease but not increase
authorSage Weil <sage@redhat.com>
Wed, 31 Jul 2019 07:04:20 +0000 (02:04 -0500)
committerSage Weil <sage@redhat.com>
Thu, 15 Aug 2019 01:40:08 +0000 (20:40 -0500)
commit0acff80f64471d4a56e8e17d0c6471ca5d1c8b2d
tree3bdda785edc0aedbb7299b8e706f407cee753096
parente4784af4ca301ce86e32a3156501fcdd1747b622
mon/HealthMonitor: allow muted alert counts to decrease but not increase

If the summary starts with a digit, parse a count.

If the count goes up, clear the mute.

If the count goes down, update the mute so that we ratchet the threshold
down.

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