]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/LogMonitor: call no_reply() on ignored log message 22109/head
authorSage Weil <sage@redhat.com>
Fri, 18 May 2018 20:44:09 +0000 (15:44 -0500)
committerKefu Chai <kchai@redhat.com>
Mon, 21 May 2018 06:21:58 +0000 (14:21 +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 178f78589df5fb80c74becba716dd72b6f976689..5275ce4fdc3575b53daf3f2a0eab69a857dc1c36 100644 (file)
@@ -314,6 +314,7 @@ bool LogMonitor::preprocess_log(MonOpRequestRef op)
   return false;
 
  done:
+  mon->no_reply(op);
   return true;
 }