From: Sage Weil Date: Wed, 2 May 2018 19:48:31 +0000 (-0500) Subject: mon/MDSMonitor: no_reply on MMDSLoadTargets X-Git-Tag: v12.2.9~22^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F24393%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 (cherry picked from commit b462b59065424520170956581e72e16481b16f0a) Conflicts: src/mon/MDSMonitor.cc - luminous has "ignore:" instead of "done:" in MDSMonitor::preprocess_offload_targets() and this part of the backport was already done unintentionally in 7bbc0a7b1670d99e42149fd3a25c24600314ca94 --- diff --git a/src/mon/MDSMonitor.cc b/src/mon/MDSMonitor.cc index 3b10dbfc921..1ad416170eb 100644 --- a/src/mon/MDSMonitor.cc +++ b/src/mon/MDSMonitor.cc @@ -834,6 +834,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; }