From 5bd1fb2e17be7f171df342d3ffed95aff6ed92d5 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 2 May 2018 14:48:31 -0500 Subject: [PATCH] mon/MDSMonitor: no_reply on MMDSLoadTargets If we don't note that we don't reply then we don't close out the routed mon request and the op will appear as slow on the forwarding mon. Fixes: http://tracker.ceph.com/issues/23769 Signed-off-by: Sage Weil (cherry picked from commit b462b59065424520170956581e72e16481b16f0a) --- src/mon/MDSMonitor.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mon/MDSMonitor.cc b/src/mon/MDSMonitor.cc index 8f22f4abf6ba6..06ef370706b1c 100644 --- a/src/mon/MDSMonitor.cc +++ b/src/mon/MDSMonitor.cc @@ -453,6 +453,7 @@ bool MDSMonitor::preprocess_offload_targets(MonOpRequestRef op) return false; done: + mon->no_reply(op); return true; } @@ -674,6 +675,7 @@ bool MDSMonitor::prepare_offload_targets(MonOpRequestRef op) } else { dout(10) << "prepare_offload_targets " << gid << " not in map" << dendl; } + mon->no_reply(op); return true; } -- 2.39.5