From: Sage Weil Date: Wed, 2 May 2018 19:48:31 +0000 (-0500) Subject: mon/MDSMonitor: no_reply on MMDSLoadTargets X-Git-Tag: v13.1.0~5^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F21684%2Fhead;p=ceph.git 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 --- diff --git a/src/mon/MDSMonitor.cc b/src/mon/MDSMonitor.cc index 9533924483ec4..993913d00e465 100644 --- a/src/mon/MDSMonitor.cc +++ b/src/mon/MDSMonitor.cc @@ -475,6 +475,7 @@ bool MDSMonitor::preprocess_offload_targets(MonOpRequestRef op) return false; done: + mon->no_reply(op); return true; } @@ -790,6 +791,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; }