]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/MDSMonitor: no_reply on MMDSLoadTargets 24393/head
authorSage Weil <sage@redhat.com>
Wed, 2 May 2018 19:48:31 +0000 (14:48 -0500)
committerNathan Cutler <ncutler@suse.com>
Wed, 3 Oct 2018 12:10:15 +0000 (14:10 +0200)
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 <sage@redhat.com>
(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

src/mon/MDSMonitor.cc

index 3b10dbfc921740fd0c94368c804b26cf0c14d61c..1ad416170eb57b20856084d022d11a81a9e9ae51 100644 (file)
@@ -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;
 }