From c842555ceeae3a18b1b9d2f4190d0b7b21514c75 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 15 Sep 2015 12:49:36 -0400 Subject: [PATCH] mon: debug refs on output replies Signed-off-by: Sage Weil --- src/mon/Monitor.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index de5d60e07ccd8..3dc10ef9f7eaf 100644 --- a/src/mon/Monitor.cc +++ b/src/mon/Monitor.cc @@ -3189,7 +3189,8 @@ void Monitor::send_reply(MonOpRequestRef op, Message *reply) Message *req = op->get_req(); ConnectionRef con = op->get_connection(); - dout(2) << __func__ << " " << op << " " << *reply << dendl; + reply->set_cct(g_ceph_context); + dout(2) << __func__ << " " << op << " " << reply << " " << *reply << dendl; if (!con) { dout(2) << "send_reply no connection, dropping reply " << *reply -- 2.39.5