diff options
author | Tor Egge <Tor.Egge@online.no> | 2021-09-27 14:30:53 +0200 |
---|---|---|
committer | Tor Egge <Tor.Egge@online.no> | 2021-09-27 14:30:53 +0200 |
commit | 8ef786b63e9e758efa7c8a08b76b1e62a5b86223 (patch) | |
tree | e2f8ca58c6fbcfec7183b836eed2f9fdf5f021c3 /searchcore | |
parent | 595189c381cddd4e595b547d854a31daa98fa090 (diff) |
Widen fields to handle larger numbers when reporting node stats in bm cluster.
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/vespa/searchcore/bmcluster/bm_node_stats_reporter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/searchcore/src/vespa/searchcore/bmcluster/bm_node_stats_reporter.cpp b/searchcore/src/vespa/searchcore/bmcluster/bm_node_stats_reporter.cpp index 83956dfc274..ecd0593031e 100644 --- a/searchcore/src/vespa/searchcore/bmcluster/bm_node_stats_reporter.cpp +++ b/searchcore/src/vespa/searchcore/bmcluster/bm_node_stats_reporter.cpp @@ -95,16 +95,16 @@ BmNodeStatsReporter::report() for (auto &node : node_stats) { auto& document_db = node.get_document_db_stats(); if (document_db.has_value()) { - s << Width(8) << document_db.value().get_total_docs(); + s << Width(10) << document_db.value().get_total_docs(); } else { - s << Width(8) << "-"; + s << Width(10) << "-"; } totals += node; } if (totals.get_document_db_stats().has_value()) { - s << Width(8) << totals.get_document_db_stats().value().get_total_docs(); + s << Width(10) << totals.get_document_db_stats().value().get_total_docs(); } else { - s << Width(8) << "-"; + s << Width(10) << "-"; } auto& total_buckets = totals.get_buckets_stats(); if (total_buckets.has_value()) { |