There is one path where a mds that is not sending its beacon (e.g.,
because it is not running at all) will lead to proposal of new mdsmaps.
Fix it.
Backport: emperor, dumpling
Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit
584c2dd6bea3fe1a3c7f306874c054ce0cf0d2b5)
<< " " << ceph_mds_state_name(info.state)
<< " (laggy)" << dendl;
pending_mdsmap.mds_info.erase(gid);
+ do_propose = true;
} else if (!info.laggy()) {
dout(10) << " marking " << gid << " " << info.addr << " mds." << info.rank << "." << info.inc
<< " " << ceph_mds_state_name(info.state)
<< " laggy" << dendl;
info.laggy_since = now;
+ do_propose = true;
}
last_beacon.erase(gid);
- do_propose = true;
}
}