]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/LogMonitor: call no_reply() on ignored log message 22098/head
authorSage Weil <sage@redhat.com>
Fri, 18 May 2018 20:44:09 +0000 (15:44 -0500)
committerSage Weil <sage@redhat.com>
Fri, 18 May 2018 20:44:09 +0000 (15:44 -0500)
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>
src/mon/LogMonitor.cc

index 1edd0e14036e532c6afa5c85aa78d441a002005c..f06754be34ca56c09b506c16f040404084ae2898 100644 (file)
@@ -313,6 +313,7 @@ bool LogMonitor::preprocess_log(MonOpRequestRef op)
   return false;
 
  done:
+  mon->no_reply(op);
   return true;
 }