From a8e07b33f78bf821ca931d1928feefd107b0f000 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 29 Jun 2017 18:20:28 -0400 Subject: [PATCH] mon/MgrStatMonitor: show health check count on receipt Signed-off-by: Sage Weil --- src/mon/MgrStatMonitor.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mon/MgrStatMonitor.cc b/src/mon/MgrStatMonitor.cc index c96163e7f3b..6a0606a4be9 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; } -- 2.39.5