]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/HealthMonitor: fix mon_warn_on_osd_down_out_interval_zero does not work
authorxie xingguo <xie.xingguo@zte.com.cn>
Wed, 19 Jul 2017 09:10:29 +0000 (17:10 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Wed, 19 Jul 2017 09:40:20 +0000 (17:40 +0800)
commit29ef297dfbf01b81dbc49f0959c40944726df174
tree858a8c7bc37b6c9f88f9f8b4473eb9dff629815f
parent0d05c2ac7ca0def80ff79171726265398857e8f3
mon/HealthMonitor: fix mon_warn_on_osd_down_out_interval_zero does not work

And the output is wrong...

cluster:
    id:     b979e20d-6441-46b4-8663-954e1e8ce01d
    health: HEALTH_WARN
            1 osds down
            mon %names has mon_osd_down_out_interval set to 0

Now:
 health: HEALTH_WARN
            mon a is low on available space
            mon a has mon_osd_down_out_interval set to 0

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