From: Sage Weil Date: Wed, 5 Jul 2017 16:27:57 +0000 (-0400) Subject: mon: debug session feature tracking X-Git-Tag: v12.1.1~134^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F16128%2Fhead;p=ceph.git mon: debug session feature tracking Hunting http://tracker.ceph.com/issues/20475 Signed-off-by: Sage Weil --- diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index 1e86040591a1..6cc680112b45 100644 --- a/src/mon/Monitor.cc +++ b/src/mon/Monitor.cc @@ -3650,7 +3650,8 @@ void Monitor::resend_routed_requests() void Monitor::remove_session(MonSession *s) { - dout(10) << "remove_session " << s << " " << s->inst << dendl; + dout(10) << "remove_session " << s << " " << s->inst + << " features 0x" << std::hex << s->con_features << std::dec << dendl; assert(s->con); assert(!s->closed); for (set::iterator p = s->routed_request_tids.begin(); @@ -3764,7 +3765,9 @@ void Monitor::_ms_dispatch(Message *m) } assert(s); con->set_priv(s->get()); - dout(10) << __func__ << " new session " << s << " " << *s << dendl; + dout(10) << __func__ << " new session " << s << " " << *s + << " features 0x" << std::hex + << s->con_features << std::dec << dendl; op->set_session(s); logger->set(l_mon_num_sessions, session_map.get_size());