From: Yan, Zheng Date: Tue, 23 Feb 2016 09:11:17 +0000 (+0800) Subject: mon/MDSMonitor.cc: properly note beacon when health metrics changes X-Git-Tag: v10.0.4~1^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=dff71a5da1de569928619deeb2f832dcb744f5c4;p=ceph.git mon/MDSMonitor.cc: properly note beacon when health metrics changes Fixes: #14684 Signed-off-by: Yan, Zheng --- diff --git a/src/mon/MDSMonitor.cc b/src/mon/MDSMonitor.cc index 4238ffbfc646..79d15005464a 100644 --- a/src/mon/MDSMonitor.cc +++ b/src/mon/MDSMonitor.cc @@ -367,6 +367,7 @@ bool MDSMonitor::preprocess_beacon(MonOpRequestRef op) // do not match, to update our stored if (!(pending_daemon_health[gid] == m->get_health())) { dout(20) << __func__ << " health metrics for gid " << gid << " were updated" << dendl; + _note_beacon(m); return false; }