From 57ecc1ef1c1d4df973517c71ba02e5d1a16fb9c1 Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Fri, 16 Feb 2018 15:44:22 -0800 Subject: [PATCH] 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 --- src/mon/MgrMonitor.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mon/MgrMonitor.cc b/src/mon/MgrMonitor.cc index 76985abc043..b9d79c3cf47 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())) { -- 2.39.5