From: Sage Weil Date: Fri, 18 May 2018 20:44:09 +0000 (-0500) Subject: mon/LogMonitor: call no_reply() on ignored log message X-Git-Tag: v13.1.1~3^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=509d1dea2d00fcb91d3a0fd11f90c3987fd919f6;p=ceph.git mon/LogMonitor: call no_reply() on ignored log message 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 (cherry picked from commit 9661fa08ccc500587d35d7af8a905916167d8314) --- diff --git a/src/mon/LogMonitor.cc b/src/mon/LogMonitor.cc index 881b3102e585..9ed08596ee5c 100644 --- a/src/mon/LogMonitor.cc +++ b/src/mon/LogMonitor.cc @@ -313,6 +313,7 @@ bool LogMonitor::preprocess_log(MonOpRequestRef op) return false; done: + mon->no_reply(op); return true; }