cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yu...@apache.org
Subject [05/13] git commit: make sure to release recently added CF metric
Date Tue, 13 Aug 2013 18:21:28 GMT
make sure to release recently added CF metric


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/e15dee2f
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/e15dee2f
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/e15dee2f

Branch: refs/heads/cassandra-2.0.0
Commit: e15dee2f4a92b1d0822f229488d89a405b4ef0cb
Parents: 1716054
Author: Yuki Morishita <yukim@apache.org>
Authored: Tue Aug 13 13:16:59 2013 -0500
Committer: Yuki Morishita <yukim@apache.org>
Committed: Tue Aug 13 13:16:59 2013 -0500

----------------------------------------------------------------------
 src/java/org/apache/cassandra/metrics/ColumnFamilyMetrics.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/e15dee2f/src/java/org/apache/cassandra/metrics/ColumnFamilyMetrics.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/metrics/ColumnFamilyMetrics.java b/src/java/org/apache/cassandra/metrics/ColumnFamilyMetrics.java
index 96ab538..0f9f87d 100644
--- a/src/java/org/apache/cassandra/metrics/ColumnFamilyMetrics.java
+++ b/src/java/org/apache/cassandra/metrics/ColumnFamilyMetrics.java
@@ -333,6 +333,8 @@ public class ColumnFamilyMetrics
         Metrics.defaultRegistry().removeMetric(factory.createMetricName("BloomFilterFalseRatio"));
         Metrics.defaultRegistry().removeMetric(factory.createMetricName("RecentBloomFilterFalseRatio"));
         Metrics.defaultRegistry().removeMetric(factory.createMetricName("BloomFilterDiskSpaceUsed"));
+        Metrics.defaultRegistry().removeMetric(factory.createMetricName("KeyCacheHitRate"));
+        Metrics.defaultRegistry().removeMetric(factory.createMetricName("SpeculativeRetry"));
     }
 
     class ColumnFamilyMetricNameFactory implements MetricNameFactory


Mime
View raw message