]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: Monitor: get rid of weighted clock skew reports 7141/head
authorJoao Eduardo Luis <joao@suse.de>
Thu, 7 Jan 2016 11:20:36 +0000 (11:20 +0000)
committerJoao Eduardo Luis <joao@wipwd.org>
Thu, 3 Mar 2016 11:06:03 +0000 (11:06 +0000)
commit17d8ff429c7dca8fc1ada6e7cc8a7c4924a22e28
treeb7d7d5cff1aae4e09f8341e6acec6ed2fad732c7
parent45e16d0d7407cf4e886dde9321bb91c1a087776d
mon: Monitor: get rid of weighted clock skew reports

By weighting the reports we were making it really hard to get rid of a
clock skew warning once the cause had been fixed.

Instead, as soon as we get a clean bill of health, let's run a new round
and soon as possible and ascertain whether that was a transient fix or
for realsies. That should be better than the alternative of waiting for
an hour or something (for a large enough skew) for the warning to go
away - and with it, the admin's sanity ("WHAT AM I DOING WRONG???").

Fixes: #14175
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
src/mon/Monitor.cc