Where 'stopped' means ignoring beacons and
not performing 'tick' activities.
Signed-off-by: John Spray <john.spray@inktank.com>
int state = m->get_state();
version_t seq = m->get_seq();
+ // Ignore beacons if filesystem is disabled
+ if (!mdsmap.enabled) {
+ return false;
+ }
+
// boot?
if (state == MDSMap::STATE_BOOT) {
// zap previous instance of this name?
// ...if i am an active leader
if (!is_active()) return;
+ // Do nothing if the filesystem is disabled
+ if (!mdsmap.enabled) return;
+
dout(10) << mdsmap << dendl;
bool do_propose = false;