]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon/HealthMonitor: avoid sending unnecessary MMonHealthChecks to leader
authorxie xingguo <xie.xingguo@zte.com.cn>
Fri, 21 Jul 2017 10:35:06 +0000 (18:35 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Fri, 21 Jul 2017 11:50:11 +0000 (19:50 +0800)
commitcb1616b7e4cafc228c25b5ce7790c5679911f917
treecb5c99878ae0853b6fab5e59b3280701a7d968d5
parent0193e38b3f8c4c9aa4f63c7173fce3ff504dcb9c
mon/HealthMonitor: avoid sending unnecessary MMonHealthChecks to leader

If there is no historic warnings and no new warnings is generated,
skip sending MMonHealthChecks(for peon) or updating quorum_checks(for leader).

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/mon/HealthMonitor.cc
src/mon/health_check.h