You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ab...@apache.org on 2019/10/24 12:11:38 UTC
[lucene-solr] branch branch_8_3 updated: SOLR-13677: Add a missing
override, which resulted in missing metrics (reported by tflobbe).
This is an automated email from the ASF dual-hosted git repository.
ab pushed a commit to branch branch_8_3
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/branch_8_3 by this push:
new 2aa5869 SOLR-13677: Add a missing override, which resulted in missing metrics (reported by tflobbe).
2aa5869 is described below
commit 2aa586909b911e66e1d8863aa89f173d69f86cd2
Author: Andrzej Bialecki <ab...@apache.org>
AuthorDate: Thu Oct 24 13:02:23 2019 +0200
SOLR-13677: Add a missing override, which resulted in missing metrics (reported by tflobbe).
---
solr/core/src/java/org/apache/solr/update/DirectUpdateHandler2.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/solr/core/src/java/org/apache/solr/update/DirectUpdateHandler2.java b/solr/core/src/java/org/apache/solr/update/DirectUpdateHandler2.java
index 248f18b..cacaed2 100644
--- a/solr/core/src/java/org/apache/solr/update/DirectUpdateHandler2.java
+++ b/solr/core/src/java/org/apache/solr/update/DirectUpdateHandler2.java
@@ -169,6 +169,11 @@ public class DirectUpdateHandler2 extends UpdateHandler implements SolrCoreState
}
@Override
+ public SolrMetricsContext getSolrMetricsContext() {
+ return solrMetricsContext;
+ }
+
+ @Override
public void initializeMetrics(SolrMetricsContext parentContext, String scope) {
solrMetricsContext = parentContext.getChildContext(this);
commitCommands = solrMetricsContext.meter(this, "commits", getCategory().toString(), scope);