From 9ab11d5356bef85ad510d788a14f7323b065b194 Mon Sep 17 00:00:00 2001 From: Geir Storli Date: Mon, 10 Jan 2022 15:59:56 +0000 Subject: 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. --- searchcorespi/src/vespa/searchcorespi/index/indexmaintainer.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'searchcorespi') 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(); -- cgit v1.2.3