summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorGeir Storli <geirst@verizonmedia.com>2021-08-31 13:03:43 +0000
committerGeir Storli <geirst@verizonmedia.com>2021-08-31 13:03:43 +0000
commit85c71ddb1d548ced814809902551ca3f0381902b (patch)
tree7e62ad4451ba2760f25228c37cdca21a324f4f3e /storage
parent0397cec0ed813765191c9580e00c868a4581cf26 (diff)
Add info on number of distributor stripes to status page.
Diffstat (limited to 'storage')
-rw-r--r--storage/src/vespa/storage/distributor/distributor.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/storage/src/vespa/storage/distributor/distributor.cpp b/storage/src/vespa/storage/distributor/distributor.cpp
index a5ef9915704..36b12ed483f 100644
--- a/storage/src/vespa/storage/distributor/distributor.cpp
+++ b/storage/src/vespa/storage/distributor/distributor.cpp
@@ -795,8 +795,11 @@ Distributor::reportStatus(std::ostream& out,
framework::PartlyHtmlStatusReporter htmlReporter(*this);
htmlReporter.reportHtmlHeader(out, path);
if (!path.hasAttribute("page")) {
- out << "<a href=\"?page=pending\">Count of pending messages to storage nodes</a><br>\n"
- << "<a href=\"?page=buckets\">List all buckets, highlight non-ideal state</a><br>\n";
+ out << "<p>Distributor stripes: " << _stripes.size() << "</p>\n"
+ << "<p>\n"
+ << "<a href=\"?page=pending\">Count of pending messages to storage nodes</a><br>\n"
+ << "<a href=\"?page=buckets\">List all buckets, highlight non-ideal state</a><br>\n"
+ << "</p>\n";
} else {
auto guard = _stripe_accessor->rendezvous_and_hold_all();
const auto& op_ctx = _component;