]> 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)
committerPrashant D <pdhange@redhat.com>
Fri, 15 Jun 2018 02:37:43 +0000 (22:37 -0400)
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 a4d37b161333d17b5ce3484c354a3128bcc88e2e..2e5f99b736edcc43944c7cf748b1d4996c93df04 100644 (file)
@@ -1872,6 +1872,7 @@ bool OSDMonitor::preprocess_failure(MonOpRequestRef op)
   return false;
 
  didit:
+  mon->no_reply(op);
   return true;
 }