diff options
author | Geir Storli <geirst@verizonmedia.com> | 2019-01-28 15:07:17 +0000 |
---|---|---|
committer | Geir Storli <geirst@verizonmedia.com> | 2019-01-28 15:07:17 +0000 |
commit | ec2dd1216f1cfadda43d1757b5b942f800f2c3a2 (patch) | |
tree | c12e2004e88cf9f10129acf5030bee33fb9efef4 /searchcore | |
parent | 4fba0da4b970af2c31ed543c378e9641dd1b6106 (diff) |
Fixup after removal of DocumentDBMetricsCollection where per attribute metrics were lost.
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/server/fast_access_doc_subdb.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/fast_access_doc_subdb.h b/searchcore/src/vespa/searchcore/proton/server/fast_access_doc_subdb.h index 972c496508a..89961d7f1ef 100644 --- a/searchcore/src/vespa/searchcore/proton/server/fast_access_doc_subdb.h +++ b/searchcore/src/vespa/searchcore/proton/server/fast_access_doc_subdb.h @@ -45,10 +45,10 @@ public: struct Context { const StoreOnlyDocSubDB::Context _storeOnlyCtx; - const AttributeMetrics &_subAttributeMetrics; + AttributeMetrics &_subAttributeMetrics; MetricsWireService &_metricsWireService; Context(const StoreOnlyDocSubDB::Context &storeOnlyCtx, - const AttributeMetrics &subAttributeMetrics, + AttributeMetrics &subAttributeMetrics, MetricsWireService &metricsWireService) : _storeOnlyCtx(storeOnlyCtx), _subAttributeMetrics(subAttributeMetrics), @@ -64,7 +64,7 @@ private: const bool _fastAccessAttributesOnly; AttributeManager::SP _initAttrMgr; Configurer::FeedViewVarHolder _fastAccessFeedView; - AttributeMetrics _subAttributeMetrics; + AttributeMetrics &_subAttributeMetrics; std::shared_ptr<initializer::InitializerTask> createAttributeManagerInitializer(const DocumentDBConfig &configSnapshot, |