cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From slebre...@apache.org
Subject git commit: Set gc_grace to 0 on index CF
Date Fri, 08 Jun 2012 07:23:36 GMT
Updated Branches:
  refs/heads/cassandra-1.0 edfc06fdd -> 5aad64a69


Set gc_grace to 0 on index CF

patch by jbellis; reviewed by slebresne for CASSANDRA-4314


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

Branch: refs/heads/cassandra-1.0
Commit: 5aad64a699602166413a6bf2f0599c1523cd55ce
Parents: edfc06f
Author: Sylvain Lebresne <sylvain@datastax.com>
Authored: Fri Jun 8 09:22:28 2012 +0200
Committer: Sylvain Lebresne <sylvain@datastax.com>
Committed: Fri Jun 8 09:22:28 2012 +0200

----------------------------------------------------------------------
 CHANGES.txt                                        |    1 +
 .../org/apache/cassandra/config/CFMetaData.java    |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/5aad64a6/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 4fd2155..1fe21aa 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -6,6 +6,7 @@
  * improve ability of STCS.getBuckets to deal with 100s of 1000s of
    sstables, such as when convertinb back from LCS (CASSANDRA-4287)
  * Oversize integer in CQL throws NumberFormatException (CASSANDRA-4291)
+ * Set gc_grace on index CF to 0 (CASSANDRA-4314)
 
 
 1.0.10

http://git-wip-us.apache.org/repos/asf/cassandra/blob/5aad64a6/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 dd243e4..cf57b0f 100644
--- a/src/java/org/apache/cassandra/config/CFMetaData.java
+++ b/src/java/org/apache/cassandra/config/CFMetaData.java
@@ -251,7 +251,7 @@ public final class CFMetaData
                              .keyValidator(info.getValidator())
                              .keyCacheSize(0.0)
                              .readRepairChance(0.0)
-                             .gcGraceSeconds(parent.gcGraceSeconds)
+                             .gcGraceSeconds(0)
                              .minCompactionThreshold(parent.minCompactionThreshold)
                              .maxCompactionThreshold(parent.maxCompactionThreshold);
     }


Mime
View raw message