]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/OSDMonitor: no_reply on ignored MOSDFailure
authorSage Weil <sage@redhat.com>
Sun, 27 May 2018 14:49:37 +0000 (09:49 -0500)
committerSage Weil <sage@redhat.com>
Sun, 27 May 2018 14:50:07 +0000 (09:50 -0500)
If we are ignoring the message, tell the forwarding mon to discard it's
state.

Fixes: http://tracker.ceph.com/issues/24322
Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/OSDMonitor.cc

index 01730126abad2e08bc501661b6dca4793448ad6f..d30e3c4d12c92bc505a1a3e4701a36d58b67b2a3 100644 (file)
@@ -2176,6 +2176,7 @@ bool OSDMonitor::preprocess_failure(MonOpRequestRef op)
   return false;
 
  didit:
+  mon->no_reply(op);
   return true;
 }