You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by al...@apache.org on 2014/05/29 18:53:22 UTC
git commit: Swap local and global default read repair chances
Repository: cassandra
Updated Branches:
refs/heads/cassandra-2.0 824ed37fc -> d72777bd5
Swap local and global default read repair chances
patch by Aleksey Yeschenko; reviewed by Jason Brown for CASSANDRA-7320
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/d72777bd
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/d72777bd
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/d72777bd
Branch: refs/heads/cassandra-2.0
Commit: d72777bd522113f70d8f941c25a48a47579156ec
Parents: 824ed37
Author: Aleksey Yeschenko <al...@apache.org>
Authored: Thu May 29 19:52:34 2014 +0300
Committer: Aleksey Yeschenko <al...@apache.org>
Committed: Thu May 29 19:52:34 2014 +0300
----------------------------------------------------------------------
CHANGES.txt | 3 ++-
NEWS.txt | 10 ++++++++++
src/java/org/apache/cassandra/config/CFMetaData.java | 4 ++--
3 files changed, 14 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cassandra/blob/d72777bd/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 0ed0bee..98a0a33 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,5 +1,6 @@
2.0.9
- * Add missing iso8601 patterns for date strings (6973)
+ * Swap local and global default read repair chances (CASSANDRA-7320)
+ * Add missing iso8601 patterns for date strings (CASSANDRA-6973)
* Support selecting multiple rows in a partition using IN (CASSANDRA-6875)
* cqlsh: always emphasize the partition key in DESC output (CASSANDRA-7274)
* Copy compaction options to make sure they are reloaded (CASSANDRA-7290)
http://git-wip-us.apache.org/repos/asf/cassandra/blob/d72777bd/NEWS.txt
----------------------------------------------------------------------
diff --git a/NEWS.txt b/NEWS.txt
index 35e48d6..422330c 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.9
+=====
+
+Operations
+----------
+ - Default values for read_repair_chance and local_read_repair_chance have been
+ swapped. Namely, default read_repair_chance is now set to 0.0, and default
+ local_read_repair_chance to 0.1.
+
+
2.0.8
=====
http://git-wip-us.apache.org/repos/asf/cassandra/blob/d72777bd/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 9ca41ac..04b99e4 100644
--- a/src/java/org/apache/cassandra/config/CFMetaData.java
+++ b/src/java/org/apache/cassandra/config/CFMetaData.java
@@ -75,8 +75,8 @@ public final class CFMetaData
private static final Logger logger = LoggerFactory.getLogger(CFMetaData.class);
- public final static double DEFAULT_READ_REPAIR_CHANCE = 0.1;
- public final static double DEFAULT_DCLOCAL_READ_REPAIR_CHANCE = 0.0;
+ public final static double DEFAULT_READ_REPAIR_CHANCE = 0.0;
+ public final static double DEFAULT_DCLOCAL_READ_REPAIR_CHANCE = 0.1;
public final static boolean DEFAULT_REPLICATE_ON_WRITE = true;
public final static int DEFAULT_GC_GRACE_SECONDS = 864000;
public final static int DEFAULT_MIN_COMPACTION_THRESHOLD = 4;