cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [1/3] cassandra git commit: fix histogram overflow exception
Date Fri, 14 Aug 2015 14:27:24 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk f43663aaf -> 90bd5cae4


fix histogram overflow exception

Patch by tjake; reviewed by carlyeks for CASSANDRA-9973


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

Branch: refs/heads/trunk
Commit: 23826f7a26f8fb662d78c5ec9976a89c57d8ac9f
Parents: 2d8ccf0
Author: T Jake Luciani <jake@apache.org>
Authored: Tue Aug 11 12:04:35 2015 -0400
Committer: T Jake Luciani <jake@apache.org>
Committed: Fri Aug 14 10:22:53 2015 -0400

----------------------------------------------------------------------
 CHANGES.txt                                                       | 1 +
 .../org/apache/cassandra/metrics/EstimatedHistogramReservoir.java | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/23826f7a/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 3b548e5..6a9dc1e 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 2.2.1
+ * Fix histogram overflow exception (CASSANDRA-9973)
  * Route gossip messages over dedicated socket (CASSANDRA-9237)
  * Add checksum to saved cache files (CASSANDRA-9265)
  * Log warning when using an aggregate without partition key (CASSANDRA-9737)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/23826f7a/src/java/org/apache/cassandra/metrics/EstimatedHistogramReservoir.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/metrics/EstimatedHistogramReservoir.java b/src/java/org/apache/cassandra/metrics/EstimatedHistogramReservoir.java
index b7266e4..3051711 100644
--- a/src/java/org/apache/cassandra/metrics/EstimatedHistogramReservoir.java
+++ b/src/java/org/apache/cassandra/metrics/EstimatedHistogramReservoir.java
@@ -33,9 +33,10 @@ public class EstimatedHistogramReservoir implements Reservoir
 {
     EstimatedHistogram histogram;
 
+    // Default to >4 hours of in nanoseconds of buckets
     public EstimatedHistogramReservoir()
     {
-        this(128);
+        this(164);
     }
 
     public EstimatedHistogramReservoir(int numBuckets)


Mime
View raw message