From d221996d75a2e78113e99cff627a5330464ff691 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 22 Oct 2019 09:42:26 -0500 Subject: [PATCH] mon: include quorum features in quorum_status This is part of mon_status, and qa/standalone/mon/misc.sh mon_features test uses it. Signed-off-by: Sage Weil --- src/mon/Monitor.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index 67779f4b56d41..68362eb069cd0 100644 --- a/src/mon/Monitor.cc +++ b/src/mon/Monitor.cc @@ -2561,6 +2561,11 @@ void Monitor::_quorum_status(Formatter *f, ostream& ss) mono_clock::now() - quorum_since).count()); } + f->open_object_section("features"); + f->dump_stream("quorum_con") << quorum_con_features; + quorum_mon_features.dump(f, "quorum_mon"); + f->close_section(); + f->open_object_section("monmap"); monmap->dump(f); f->close_section(); // monmap -- 2.39.5