diff options
author | Geir Storli <geirst@verizonmedia.com> | 2021-05-06 14:17:26 +0000 |
---|---|---|
committer | Geir Storli <geirst@verizonmedia.com> | 2021-05-06 14:17:26 +0000 |
commit | 9bb4cf6436f379dfc02d74b69761bf41cbbad25f (patch) | |
tree | 9e94e6c2ed8861f0082126dc4f1f52ab0049b827 /storage | |
parent | e638feec6b05e3b83a7f2a6c49c51f6cac5b3023 (diff) |
Remove remains of "maintenance" status page.
Diffstat (limited to 'storage')
-rw-r--r-- | storage/src/vespa/storage/distributor/distributor.cpp | 7 | ||||
-rw-r--r-- | storage/src/vespa/storage/distributor/distributor_stripe.cpp | 9 |
2 files changed, 4 insertions, 12 deletions
diff --git a/storage/src/vespa/storage/distributor/distributor.cpp b/storage/src/vespa/storage/distributor/distributor.cpp index e5d25681148..17fec5d329d 100644 --- a/storage/src/vespa/storage/distributor/distributor.cpp +++ b/storage/src/vespa/storage/distributor/distributor.cpp @@ -638,11 +638,8 @@ 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><a href=\"?page=maintenance&show=50\">" - << "List maintenance queue (adjust show parameter to see more " - << "operations, -1 for all)</a><br>\n<a href=\"?page=buckets\">" - << "List all buckets, highlight non-ideal state</a><br>\n"; + 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"; } else { auto guard = _stripe_accessor->rendezvous_and_hold_all(); const auto& op_ctx = _component; diff --git a/storage/src/vespa/storage/distributor/distributor_stripe.cpp b/storage/src/vespa/storage/distributor/distributor_stripe.cpp index cfa30e04642..1bd5fe20074 100644 --- a/storage/src/vespa/storage/distributor/distributor_stripe.cpp +++ b/storage/src/vespa/storage/distributor/distributor_stripe.cpp @@ -911,11 +911,8 @@ DistributorStripe::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><a href=\"?page=maintenance&show=50\">" - << "List maintenance queue (adjust show parameter to see more " - << "operations, -1 for all)</a><br>\n<a href=\"?page=buckets\">" - << "List all buckets, highlight non-ideal state</a><br>\n"; + 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"; } else { const_cast<IdealStateManager&>(_idealStateManager) .getBucketStatus(out); @@ -931,8 +928,6 @@ DistributorStripe::reportStatus(std::ostream& out, << XmlAttribute("externalload", _operationOwner.size()) << XmlAttribute("maintenance",_maintenanceOperationOwner.size()) << XmlEndTag(); - } else if (page == "maintenance") { - // Need new page } } |