From aceabe6da8e68bdb2c166860af62db3a42a474f5 Mon Sep 17 00:00:00 2001 From: John Spray Date: Wed, 29 Mar 2017 10:07:34 +0100 Subject: [PATCH] mon: update mgrmap when active goes offline Fixes: http://tracker.ceph.com/issues/19407 Signed-off-by: John Spray --- src/mon/MgrMonitor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mon/MgrMonitor.cc b/src/mon/MgrMonitor.cc index d9cee80b463..d4756a15006 100644 --- a/src/mon/MgrMonitor.cc +++ b/src/mon/MgrMonitor.cc @@ -315,10 +315,10 @@ void MgrMonitor::tick() && last_beacon.at(pending_map.active_gid) < cutoff) { drop_active(); + propose = true; dout(4) << "Dropping active" << pending_map.active_gid << dendl; if (promote_standby()) { dout(4) << "Promoted standby " << pending_map.active_gid << dendl; - propose = true; } else { dout(4) << "Active is laggy but have no standbys to replace it" << dendl; } -- 2.47.3