aboutsummaryrefslogtreecommitdiffstats
path: root/searchcorespi
diff options
context:
space:
mode:
authorGeir Storli <geirst@yahooinc.com>2022-01-10 15:59:56 +0000
committerGeir Storli <geirst@yahooinc.com>2022-01-10 15:59:56 +0000
commit9ab11d5356bef85ad510d788a14f7323b065b194 (patch)
tree4c02456e22d0c0f19e0b85114c7c0f6bcade2e27 /searchcorespi
parent9af6e27766b372bcf51525b41e663accc9444afd (diff)
Prepare for tracking the current transient disk usage across all document dbs.
The next step will be sampling the total disk usage of all current fusion indexes and report this as the transient disk usage.
Diffstat (limited to 'searchcorespi')
-rw-r--r--searchcorespi/src/vespa/searchcorespi/index/indexmaintainer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/searchcorespi/src/vespa/searchcorespi/index/indexmaintainer.cpp b/searchcorespi/src/vespa/searchcorespi/index/indexmaintainer.cpp
index a2bd19c3d29..6489cb156ce 100644
--- a/searchcorespi/src/vespa/searchcorespi/index/indexmaintainer.cpp
+++ b/searchcorespi/src/vespa/searchcorespi/index/indexmaintainer.cpp
@@ -117,6 +117,7 @@ public:
{
return _index->createBlueprint(requestContext, fields, term);
}
+ // TODO: Calculate the total disk size of current fusion indexes and set fusion_size_on_disk().
search::SearchableStats getSearchableStats() const override { return _index->getSearchableStats(); }
search::SerialNum getSerialNum() const override {
return _index->getSerialNum();