mon/LogMonitor: call no_reply() on ignored log message 22431/head
authorSage Weil <sage@redhat.com>
Fri, 18 May 2018 20:44:09 +0000 (15:44 -0500)
committerPrashant D <pdhange@redhat.com>
Tue, 5 Jun 2018 03:46:49 +0000 (23:46 -0400)
If we're dropping it on the floor, we need to tell the mon that, so that
it can tell the forwarding mon to discard its state.

Fixes: https://tracker.ceph.com/issues/24180
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 9661fa08ccc500587d35d7af8a905916167d8314)

src/mon/LogMonitor.cc

index aee3e5998a20e480b1e336661c5db8bee0945d59..55d11ad5c391278c8d9c8cd75b2619d63fc500ae 100644 (file)
@@ -341,6 +341,7 @@ bool LogMonitor::preprocess_log(MonOpRequestRef op)
   return false;
 
  done:
+  mon->no_reply(op);
   return true;
 }