Skip to content

Commit

Permalink
Merge pull request ceph#43932 from gregsfortytwo/wip-53258-dump-disal…
Browse files Browse the repository at this point in the history
…lowed

mon: MonMap: display disallowed_leaders whenever they're set

Reviewed-by: Samuel Just <[email protected]
Reviewed-by: Laura Flores <[email protected]>
  • Loading branch information
gregsfortytwo authored Nov 16, 2021
2 parents 9bc6c26 + 1e34788 commit fe7b98f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mon/MonMap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,9 @@ void MonMap::print(ostream& out) const
if (stretch_mode_enabled) {
out << "stretch_mode_enabled " << stretch_mode_enabled << "\n";
out << "tiebreaker_mon " << tiebreaker_mon << "\n";
}
if (stretch_mode_enabled ||
!disallowed_leaders.empty()) {
out << "disallowed_leaders " << disallowed_leaders << "\n";
}
unsigned i = 0;
Expand Down

0 comments on commit fe7b98f

Please sign in to comment.