summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-08-08 19:06:53 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2023-08-08 19:41:05 +0000
commit4b67e6bebdf25ee4c9500b685132a40e96fc40f6 (patch)
tree83f1efa06197d8a74e117a93aecfd5ebda4cc026 /storage
parente4b185f7f38ba80a179df2bfe05fc3bfcbb2a0a5 (diff)
GC unused code
Diffstat (limited to 'storage')
-rw-r--r--storage/src/vespa/storage/distributor/top_level_distributor.cpp9
-rw-r--r--storage/src/vespa/storage/distributor/top_level_distributor.h1
2 files changed, 0 insertions, 10 deletions
diff --git a/storage/src/vespa/storage/distributor/top_level_distributor.cpp b/storage/src/vespa/storage/distributor/top_level_distributor.cpp
index 80c096135fa..a13ad3aeb25 100644
--- a/storage/src/vespa/storage/distributor/top_level_distributor.cpp
+++ b/storage/src/vespa/storage/distributor/top_level_distributor.cpp
@@ -360,15 +360,6 @@ TopLevelDistributor::getBucketSpacesStats() const
return result;
}
-SimpleMaintenanceScanner::PendingMaintenanceStats
-TopLevelDistributor::pending_maintenance_stats() const {
- SimpleMaintenanceScanner::PendingMaintenanceStats result;
- for (const auto& stripe : _stripes) {
- result.merge(stripe->pending_maintenance_stats());
- }
- return result;
-}
-
void
TopLevelDistributor::propagateInternalScanMetricsToExternal()
{
diff --git a/storage/src/vespa/storage/distributor/top_level_distributor.h b/storage/src/vespa/storage/distributor/top_level_distributor.h
index aa3a7b3655d..da3642a9312 100644
--- a/storage/src/vespa/storage/distributor/top_level_distributor.h
+++ b/storage/src/vespa/storage/distributor/top_level_distributor.h
@@ -145,7 +145,6 @@ private:
std::unordered_map<uint16_t, uint32_t> getMinReplica() const override;
PerNodeBucketSpacesStats getBucketSpacesStats() const override;
- SimpleMaintenanceScanner::PendingMaintenanceStats pending_maintenance_stats() const;
/**
* Atomically publish internal metrics to external ideal state metrics.