Author: jbellis
Date: Mon Sep 12 15:42:55 2011
New Revision: 1169805

URL: http://svn.apache.org/viewvc?rev=1169805&view=rev
Log:
set default RR chance to 0.1, update NEWS
patch by jbellis; reviewed by slebresne for CASSANDRA-3169

Modified:
    cassandra/branches/cassandra-1.0.0/CHANGES.txt
    cassandra/branches/cassandra-1.0.0/NEWS.txt
    
cassandra/branches/cassandra-1.0.0/src/java/org/apache/cassandra/config/CFMetaData.java

Modified: cassandra/branches/cassandra-1.0.0/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/cassandra/branches/cassandra-1.0.0/CHANGES.txt?rev=1169805&r1=1169804&r2=1169805&view=diff
==============================================================================
--- cassandra/branches/cassandra-1.0.0/CHANGES.txt (original)
+++ cassandra/branches/cassandra-1.0.0/CHANGES.txt Mon Sep 12 15:42:55 2011
@@ -68,6 +68,7 @@
    (CASSANDRA-3119)
  * rename CQL type names to match expected SQL behavior (CASSANDRA-3149, 3031)
  * Arena-based allocation for memtables (CASSANDRA-2252, 3162, 3163)
+ * Default RR chance to 0.1 (CASSANDRA-3169)
 
 
 0.8.6

Modified: cassandra/branches/cassandra-1.0.0/NEWS.txt
URL: 
http://svn.apache.org/viewvc/cassandra/branches/cassandra-1.0.0/NEWS.txt?rev=1169805&r1=1169804&r2=1169805&view=diff
==============================================================================
--- cassandra/branches/cassandra-1.0.0/NEWS.txt (original)
+++ cassandra/branches/cassandra-1.0.0/NEWS.txt Mon Sep 12 15:42:55 2011
@@ -29,12 +29,6 @@ Features
     - Ability to use multiple threads during a single compaction.  See 
       multithreaded_compaction in cassandra.yaml for more details.
     - Windows Service ("cassandra.bat install" to enable)
-    - Hinted Handoff has two major improvements:
-        - Hint replay is much more efficient thanks to a change in the data 
model
-        - Hints are created for all replicas that do not ack a write.  
(Formerly,
-          only replicas known to be down when the write started were hinted.)
-      This means that running with read repair completely off is much more
-      viable than before.
     - A dead node may be replaced in a single step by starting a new node
       with -Dcassandra.replace_token=<token>.  More details can be found at
       http://wiki.apache.org/cassandra/Operations#Replacing_a_Dead_Node
@@ -49,10 +43,13 @@ New data types
 
 Other
 -----
-    - Hinted Handoff is substantially more robust, with the result that
-      when HH is enabled, repair only needs to be run if a node crashes.
-    - Because of this, read repair is disabled now by default on newly
-      created ColumnFamilies.
+    - Hinted Handoff has two major improvements:
+        - Hint replay is much more efficient thanks to a change in the data 
model
+        - Hints are created for all replicas that do not ack a write.  
(Formerly,
+          only replicas known to be down when the write started were hinted.)
+      This means that running with read repair completely off is much more
+      viable than before, and the default read_repair_chance is reduced from 
1.0
+      ("always repair") to 0.1 ("repair 10% of the time").
     - The old per-ColumnFamily memtable thresholds
       (memtable_throughput_in_mb, memtable_operations_in_millions,
       memtable_flush_after_mins) are ignored, in favor of the global

Modified: 
cassandra/branches/cassandra-1.0.0/src/java/org/apache/cassandra/config/CFMetaData.java
URL: 
http://svn.apache.org/viewvc/cassandra/branches/cassandra-1.0.0/src/java/org/apache/cassandra/config/CFMetaData.java?rev=1169805&r1=1169804&r2=1169805&view=diff
==============================================================================
--- 
cassandra/branches/cassandra-1.0.0/src/java/org/apache/cassandra/config/CFMetaData.java
 (original)
+++ 
cassandra/branches/cassandra-1.0.0/src/java/org/apache/cassandra/config/CFMetaData.java
 Mon Sep 12 15:42:55 2011
@@ -55,7 +55,7 @@ public final class CFMetaData
 
     public final static double DEFAULT_ROW_CACHE_SIZE = 0.0;
     public final static double DEFAULT_KEY_CACHE_SIZE = 200000;
-    public final static double DEFAULT_READ_REPAIR_CHANCE = 1.0;
+    public final static double DEFAULT_READ_REPAIR_CHANCE = 0.1;
     public final static boolean DEFAULT_REPLICATE_ON_WRITE = true;
     public final static int DEFAULT_ROW_CACHE_SAVE_PERIOD_IN_SECONDS = 0;
     public final static int DEFAULT_KEY_CACHE_SAVE_PERIOD_IN_SECONDS = 4 * 
3600;


Reply via email to