From 6507e4d8bba619408b3094b484bc23636fed0257 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 (cherry picked from commit 0daccfb4951471ab3f70ae87870f23e14357d9c8) --- 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 3ea5f30032a80..b79884b7d3ac1 100644 --- a/src/mon/MgrStatMonitor.cc +++ b/src/mon/MgrStatMonitor.cc @@ -236,6 +236,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 5dddb72581a58..001ed5d11d7a0 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -2178,6 +2178,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