]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mon/MgrStatMonitor: show health check count on receipt
authorSage Weil <sage@redhat.com>
Thu, 29 Jun 2017 22:20:28 +0000 (18:20 -0400)
committerSage Weil <sage@redhat.com>
Wed, 12 Jul 2017 16:52:02 +0000 (12:52 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/MgrStatMonitor.cc

index c96163e7f3ba5b9934f1380facf009066f6e5e64..6a0606a4be9fac7b8f5aa874a536e7c71c56b682 100644 (file)
@@ -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;
 }