]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/MDSMonitor.cc: properly note beacon when health metrics changes 7757/head
authorYan, Zheng <zyan@redhat.com>
Tue, 23 Feb 2016 09:11:17 +0000 (17:11 +0800)
committerYan, Zheng <zyan@redhat.com>
Tue, 23 Feb 2016 09:11:47 +0000 (17:11 +0800)
Fixes: #14684
Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/mon/MDSMonitor.cc

index 4238ffbfc64647179dc289780dd78a801098f285..79d15005464a0993e9ddbe2297987677a92dcca7 100644 (file)
@@ -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;
   }