cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject [3/5] git commit: make 99percentile the default speculative retry
Date Sun, 29 Sep 2013 21:55:24 GMT
make 99percentile the default speculative retry


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

Branch: refs/heads/trunk
Commit: d7bf566aed0cd8add3707f97aa309b2bba9b28ee
Parents: 8693a26
Author: Jonathan Ellis <jbellis@apache.org>
Authored: Sun Sep 29 16:53:45 2013 -0500
Committer: Jonathan Ellis <jbellis@apache.org>
Committed: Sun Sep 29 16:54:30 2013 -0500

----------------------------------------------------------------------
 NEWS.txt                                             | 10 ++++++++++
 src/java/org/apache/cassandra/config/CFMetaData.java |  2 +-
 2 files changed, 11 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/d7bf566a/NEWS.txt
----------------------------------------------------------------------
diff --git a/NEWS.txt b/NEWS.txt
index fc257f4..1f76277 100644
--- a/NEWS.txt
+++ b/NEWS.txt
@@ -13,6 +13,16 @@ restore snapshots created with the previous major version using the
 'sstableloader' tool. You can upgrade the file format of your snapshots
 using the provided 'sstableupgrade' tool.
 
+
+2.0.2
+=====
+
+New features
+------------
+    - Speculative retry defaults to 99th percentile
+      (See blog post at TODO)
+
+
 2.0.1
 =====
 

http://git-wip-us.apache.org/repos/asf/cassandra/blob/d7bf566a/src/java/org/apache/cassandra/config/CFMetaData.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/config/CFMetaData.java b/src/java/org/apache/cassandra/config/CFMetaData.java
index 51865c2..8c4075c 100644
--- a/src/java/org/apache/cassandra/config/CFMetaData.java
+++ b/src/java/org/apache/cassandra/config/CFMetaData.java
@@ -83,7 +83,7 @@ public final class CFMetaData
     public final static Class<? extends AbstractCompactionStrategy> DEFAULT_COMPACTION_STRATEGY_CLASS
= SizeTieredCompactionStrategy.class;
     public final static Caching DEFAULT_CACHING_STRATEGY = Caching.KEYS_ONLY;
     public final static int DEFAULT_DEFAULT_TIME_TO_LIVE = 0;
-    public final static SpeculativeRetry DEFAULT_SPECULATIVE_RETRY = new SpeculativeRetry(SpeculativeRetry.RetryType.NONE,
0);
+    public final static SpeculativeRetry DEFAULT_SPECULATIVE_RETRY = new SpeculativeRetry(SpeculativeRetry.RetryType.PERCENTILE,
0.99);
     public final static int DEFAULT_INDEX_INTERVAL = 128;
     public final static boolean DEFAULT_POPULATE_IO_CACHE_ON_FLUSH = false;
 


Mime
View raw message