summaryrefslogtreecommitdiffstats
path: root/vdslib
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@yahooinc.com>2022-01-31 14:15:49 +0000
committerTor Brede Vekterli <vekterli@yahooinc.com>2022-01-31 14:15:49 +0000
commit9861ab1789e2ed1804a658e9ef65b72be38cdbaa (patch)
treedc554893dde6a7f17b04faf1614e7e52b0a954b2 /vdslib
parentbd05e78a364b6f1d0a4f5ba8088e1ec1ee02a463 (diff)
Don't set deprecated fields when aggregating visitor statistics
The 1st/2nd pass functionality has been deprecated for a long time, but unfortunately the documents/bytes visited stats have been wired to be returned as part of 2nd phase statistics instead of the regular higher-level fields. This commit changes this, but the serialization will still have to remain in place until Vespa 8.
Diffstat (limited to 'vdslib')
-rw-r--r--vdslib/src/vespa/vdslib/container/visitorstatistics.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vdslib/src/vespa/vdslib/container/visitorstatistics.h b/vdslib/src/vespa/vdslib/container/visitorstatistics.h
index f4e03b00bee..d4912bbf1ba 100644
--- a/vdslib/src/vespa/vdslib/container/visitorstatistics.h
+++ b/vdslib/src/vespa/vdslib/container/visitorstatistics.h
@@ -40,8 +40,8 @@ private:
uint64_t _bytesVisited;
uint64_t _documentsReturned;
uint64_t _bytesReturned;
- uint64_t _secondPassDocumentsReturned;
- uint64_t _secondPassBytesReturned;
+ uint64_t _secondPassDocumentsReturned; // TODO remove on Vespa 8
+ uint64_t _secondPassBytesReturned; // TODO remove on Vespa 8
};
}