Pre-nautilus mgrmap doesn't encode have this field, so we'll just loop.
Signed-off-by: Sage Weil <sage@redhat.com>
if (mon->is_leader()) {
mon->clog->debug() << "mgrmap e" << map.epoch << ": " << map;
- if (pending_map.always_on_modules != always_on_modules) {
+ if (HAVE_FEATURE(mon->get_quorum_con_features(), SERVER_NAUTILUS) &&
+ pending_map.always_on_modules != always_on_modules) {
pending_map.always_on_modules = always_on_modules;
- dout(4) << "always on modules changed "
- << pending_map.get_always_on_modules() << dendl;
+ dout(4) << "always on modules changed, pending "
+ << pending_map.get_always_on_modules()
+ << " != wanted " << always_on_modules << dendl;
propose_pending();
}
}