cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yu...@apache.org
Subject [01/13] git commit: make sure to release recently added CF metric
Date Tue, 13 Aug 2013 18:21:24 GMT
Updated Branches:
  refs/heads/cassandra-1.2 44925ac7e -> 2d2099751
  refs/heads/cassandra-2.0 89fc57674 -> 9a154a9ab
  refs/heads/cassandra-2.0.0 171605423 -> 42b260246
  refs/heads/trunk 129d50dbe -> bcd6a6b64


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/2d209975
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/2d209975
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/2d209975

Branch: refs/heads/cassandra-1.2
Commit: 2d2099751c63149f21b5635e0e290722b2ae92d3
Parents: 44925ac
Author: Yuki Morishita <yukim@apache.org>
Authored: Tue Aug 13 13:16:02 2013 -0500
Committer: Yuki Morishita <yukim@apache.org>
Committed: Tue Aug 13 13:16:28 2013 -0500

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


http://git-wip-us.apache.org/repos/asf/cassandra/blob/2d209975/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 d59cd50..d111667 100644
--- a/src/java/org/apache/cassandra/metrics/ColumnFamilyMetrics.java
+++ b/src/java/org/apache/cassandra/metrics/ColumnFamilyMetrics.java
@@ -330,6 +330,7 @@ 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"));
     }
 
     class ColumnFamilyMetricNameFactory implements MetricNameFactory


Mime
View raw message