]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/MDSMonitor: no_reply on MMDSLoadTargets 22189/head
authorSage Weil <sage@redhat.com>
Wed, 2 May 2018 19:48:31 +0000 (14:48 -0500)
committerAbhishek Lekshmanan <abhishek@suse.com>
Wed, 23 May 2018 17:16:55 +0000 (19:16 +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)

src/mon/MDSMonitor.cc

index 8f22f4abf6ba63de46b1a852e286688691a9a4b6..06ef370706b1cc8e935d781051b86754a79a500c 100644 (file)
@@ -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;
 }