Signed-off-by: Sage Weil <sage@inktank.com>
f->open_object_section("mdsmap");
mdsmap.dump(f);
f->close_section();
+
+ f->dump_unsigned("mdsmap_first_committed", get_first_committed());
}
bool MDSMonitor::preprocess_command(MMonCommand *m)
void MonmapMonitor::dump_info(Formatter *f)
{
+ f->dump_unsigned("monmap_first_committed", get_first_committed());
f->open_object_section("monmap");
mon->monmap->dump(f);
f->open_array_section("quorum");
osdmap.dump(f);
f->close_section();
+ f->dump_unsigned("osdmap_first_committed", get_first_committed());
+
f->open_object_section("crushmap");
osdmap.crush->dump(f);
f->close_section();
f->open_object_section("pgmap");
pg_map.dump(f);
f->close_section();
+
+ f->dump_unsigned("pgmap_first_committed", get_first_committed());
}
bool PGMonitor::preprocess_command(MMonCommand *m)