]> git-server-git.apps.pok.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)
committerKefu Chai <kchai@redhat.com>
Tue, 29 May 2018 13:08:08 +0000 (21:08 +0800)
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>
(cherry picked from commit 69d9599806bfb189cb99f97f430c1b3629e10cc5)

src/mon/OSDMonitor.cc

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