From 0daccfb4951471ab3f70ae87870f23e14357d9c8 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 27 Mar 2018 17:45:30 +0800 Subject: [PATCH] mon: mark mgr reports and osd_failure as no_reply see also: #20517 Fixes: http://tracker.ceph.com/issues/22114 Signed-off-by: Kefu Chai --- src/mon/MgrStatMonitor.cc | 1 + src/mon/OSDMonitor.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/src/mon/MgrStatMonitor.cc b/src/mon/MgrStatMonitor.cc index 8c55628975f..18b8bd5e24a 100644 --- a/src/mon/MgrStatMonitor.cc +++ b/src/mon/MgrStatMonitor.cc @@ -175,6 +175,7 @@ bool MgrStatMonitor::prepare_update(MonOpRequestRef op) bool MgrStatMonitor::preprocess_report(MonOpRequestRef op) { + mon->no_reply(op); return false; } diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index 2ec3541a08a..d028204edb7 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -2106,6 +2106,7 @@ bool OSDMonitor::prepare_failure(MonOpRequestRef op) mon->clog->debug() << m->get_target() << " reported immediately failed by " << m->get_orig_source_inst(); force_failure(target_osd, reporter); + mon->no_reply(op); return true; } mon->clog->debug() << m->get_target() << " reported failed by " -- 2.39.5