diff options
author | Tor Egge <Tor.Egge@broadpark.no> | 2019-01-28 15:14:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-28 15:14:11 +0000 |
commit | 877cc99a230287d18f0e966617e9fa445b5ee01e (patch) | |
tree | b0fc13cc34437a668105cf0afe3318e84a7ec101 /searchcore | |
parent | 4d971ad6770b55493a98b4b28a3c5f21d78fca2e (diff) | |
parent | ec2dd1216f1cfadda43d1757b5b942f800f2c3a2 (diff) |
Merge pull request #8267 from vespa-engine/geirst/fix-reporting-of-per-attribute-metrics-in-proton
Fixup after removal of DocumentDBMetricsCollection where per attribut…
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, |