From: Greg Farnum Date: Fri, 16 Feb 2018 23:44:22 +0000 (-0800) Subject: mon: mark manager beacons as no_reply X-Git-Tag: v13.0.2~215^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F20467%2Fhead;p=ceph.git mon: mark manager beacons as no_reply We never reply to manager beacons, and we have to mark them that way or else forwarded messages pile up pending replies and things eventually block. Fixes: http://tracker.ceph.com/issues/22114 Reported-by: Hongpeng Lu Signed-off-by: Greg Farnum --- diff --git a/src/mon/MgrMonitor.cc b/src/mon/MgrMonitor.cc index 76985abc0433..b9d79c3cf47b 100644 --- a/src/mon/MgrMonitor.cc +++ b/src/mon/MgrMonitor.cc @@ -267,6 +267,7 @@ public: bool MgrMonitor::preprocess_beacon(MonOpRequestRef op) { MMgrBeacon *m = static_cast(op->get_req()); + mon->no_reply(op); // we never reply to beacons dout(4) << "beacon from " << m->get_gid() << dendl; if (!check_caps(op, m->get_fsid())) {