From 57355acbace0e1b43bdcd38693dded7eb5390ea9 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 5 Jul 2017 12:27:57 -0400 Subject: [PATCH] mon: debug session feature tracking Hunting http://tracker.ceph.com/issues/20475 Signed-off-by: Sage Weil --- src/mon/Monitor.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index 1e86040591a..6cc680112b4 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()); -- 2.39.5