cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject [1/9] git commit: Revert use of speculative retries by default for now
Date Tue, 22 Oct 2013 20:31:45 GMT
Updated Branches:
  refs/heads/cassandra-1.2 12413ad1f -> 59bf44dd9
  refs/heads/cassandra-2.0 b6147c1c7 -> 8a069587d
  refs/heads/trunk 0bff97a2c -> 4d82ac9d2


Revert use of speculative retries by default for now


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

Branch: refs/heads/trunk
Commit: 66fe5bdaaa1f5e22d33528c3d2313cc23e7621d8
Parents: dfb9765
Author: Sylvain Lebresne <sylvain@datastax.com>
Authored: Tue Oct 22 16:08:53 2013 +0200
Committer: Sylvain Lebresne <sylvain@datastax.com>
Committed: Tue Oct 22 16:08:53 2013 +0200

----------------------------------------------------------------------
 NEWS.txt                                             | 2 --
 src/java/org/apache/cassandra/config/CFMetaData.java | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/66fe5bda/NEWS.txt
----------------------------------------------------------------------
diff --git a/NEWS.txt b/NEWS.txt
index 69ab4fd..e39d5cd 100644
--- a/NEWS.txt
+++ b/NEWS.txt
@@ -19,8 +19,6 @@ using the provided 'sstableupgrade' tool.
 
 New features
 ------------
-    - Speculative retry defaults to 99th percentile
-      (See blog post at http://www.datastax.com/dev/blog/rapid-read-protection-in-cassandra-2-0-2)
     - Configurable metrics reporting
       (see conf/metrics-reporter-config-sample.yaml)
     - Compaction history and stats are now saved to system keyspace

http://git-wip-us.apache.org/repos/asf/cassandra/blob/66fe5bda/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 d63ee01..479dafc 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.PERCENTILE,
0.99);
+    public final static SpeculativeRetry DEFAULT_SPECULATIVE_RETRY = new SpeculativeRetry(SpeculativeRetry.RetryType.NONE,
0);
     public final static int DEFAULT_INDEX_INTERVAL = 128;
     public final static boolean DEFAULT_POPULATE_IO_CACHE_ON_FLUSH = false;
 


Mime
View raw message