From: Sage Weil Date: Thu, 29 Jun 2017 22:20:28 +0000 (-0400) Subject: mon/MgrStatMonitor: show health check count on receipt X-Git-Tag: v12.1.1~58^2~22 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a8e07b33f78bf821ca931d1928feefd107b0f000;p=ceph.git mon/MgrStatMonitor: show health check count on receipt Signed-off-by: Sage Weil --- diff --git a/src/mon/MgrStatMonitor.cc b/src/mon/MgrStatMonitor.cc index c96163e7f3ba..6a0606a4be9f 100644 --- a/src/mon/MgrStatMonitor.cc +++ b/src/mon/MgrStatMonitor.cc @@ -244,11 +244,12 @@ bool MgrStatMonitor::prepare_report(MonOpRequestRef op) bufferlist bl = m->get_data(); auto p = bl.begin(); ::decode(pending_digest, p); - dout(10) << __func__ << " " << pending_digest << dendl; pending_health_checks.swap(m->health_checks); if (m->service_map_bl.length()) { pending_service_map_bl.swap(m->service_map_bl); } + dout(10) << __func__ << " " << pending_digest << ", " + << pending_health_checks.checks.size() << " health checks" << dendl; return true; }