mon/LogMonitor: call no_reply() on ignored log message 22104/head
authorSage Weil <sage@redhat.com>
Fri, 18 May 2018 20:44:09 +0000 (15:44 -0500)
committerKefu Chai <kchai@redhat.com>
Sun, 20 May 2018 09:41:52 +0000 (17:41 +0800)
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 881b3102e585f283b11402a29b8751074093a295..9ed08596ee5c17b5d5b1876d1d5d05be7c708096 100644 (file)
@@ -313,6 +313,7 @@ bool LogMonitor::preprocess_log(MonOpRequestRef op)
   return false;
 
  done:
+  mon->no_reply(op);
   return true;
 }