Previously we checked if the MDS map had ever been
updated (epoch > 1), now we have an explicit flag
for whether it's enabled.
Signed-off-by: John Spray <john.spray@inktank.com>
ss << " health " << health << "\n";
ss << " monmap " << *monmap << ", election epoch " << get_epoch()
<< ", quorum " << get_quorum() << " " << get_quorum_names() << "\n";
- if (mdsmon()->mdsmap.get_epoch() > 1)
+ if (mdsmon()->mdsmap.get_enabled())
ss << " mdsmap " << mdsmon()->mdsmap << "\n";
osdmon()->osdmap.print_summary(NULL, ss);
pgmon()->pg_map.print_summary(NULL, &ss);