]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: Monitor: get rid of weighted clock skew reports 8051/head
authorJoao Eduardo Luis <joao@suse.de>
Thu, 7 Jan 2016 11:20:36 +0000 (11:20 +0000)
committerXiaoxi Chen <xiaoxchen@ebay.com>
Mon, 14 Mar 2016 00:50:12 +0000 (17:50 -0700)
commit01672b4afd6f886d6bb8527427663e062ab9d100
treed8916ea1c43ad32e19ac5f63891978ec4b955849
parentf90b8bc1a2b3ffa5ba52c0992c1c5ff52e5ea104
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>
(cherry pick from commit 17d8ff429c7dca8fc1ada6e7cc8a7c4924a22e28)
src/mon/Monitor.cc