cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r924953 - in /cassandra/branches/cassandra-0.6: CHANGES.txt interface/cassandra.thrift interface/thrift/gen-java/org/apache/cassandra/thrift/Cassandra.java
Date Thu, 18 Mar 2010 19:08:57 GMT
Author: jbellis
Date: Thu Mar 18 19:08:57 2010
New Revision: 924953

URL: http://svn.apache.org/viewvc?rev=924953&view=rev
Log:
default write consistency level changed from ZERO to ONE

Modified:
    cassandra/branches/cassandra-0.6/CHANGES.txt
    cassandra/branches/cassandra-0.6/interface/cassandra.thrift
    cassandra/branches/cassandra-0.6/interface/thrift/gen-java/org/apache/cassandra/thrift/Cassandra.java

Modified: cassandra/branches/cassandra-0.6/CHANGES.txt
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.6/CHANGES.txt?rev=924953&r1=924952&r2=924953&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.6/CHANGES.txt (original)
+++ cassandra/branches/cassandra-0.6/CHANGES.txt Thu Mar 18 19:08:57 2010
@@ -2,6 +2,7 @@
  * JMX drain to flush memtables and run through commit log (CASSANDRA-880)
  * Bootstrapping can skip ranges under the right conditions (CASSANDRA-902)
  * fix merging row versions in range_slice for CL > ONE (CASSANDRA-884)
+ * default write ConsistencyLeven chaned from ZERO to ONE
 
 
 0.6.0-beta3

Modified: cassandra/branches/cassandra-0.6/interface/cassandra.thrift
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.6/interface/cassandra.thrift?rev=924953&r1=924952&r2=924953&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.6/interface/cassandra.thrift (original)
+++ cassandra/branches/cassandra-0.6/interface/cassandra.thrift Thu Mar 18 19:08:57 2010
@@ -380,7 +380,7 @@ service Cassandra {
               3:required ColumnPath column_path, 
               4:required binary value, 
               5:required i64 timestamp, 
-              6:required ConsistencyLevel consistency_level=ZERO)
+              6:required ConsistencyLevel consistency_level=ONE)
        throws (1:InvalidRequestException ire, 2:UnavailableException ue, 3:TimedOutException
te),
 
   /**
@@ -392,7 +392,7 @@ service Cassandra {
   void batch_insert(1:required string keyspace, 
                     2:required string key, 
                     3:required map<string, list<ColumnOrSuperColumn>> cfmap,
-                    4:required ConsistencyLevel consistency_level=ZERO)
+                    4:required ConsistencyLevel consistency_level=ONE)
        throws (1:InvalidRequestException ire, 2:UnavailableException ue, 3:TimedOutException
te),
 
   /**
@@ -404,7 +404,7 @@ service Cassandra {
               2:required string key,
               3:required ColumnPath column_path,
               4:required i64 timestamp,
-              5:ConsistencyLevel consistency_level=ZERO)
+              5:ConsistencyLevel consistency_level=ONE)
        throws (1:InvalidRequestException ire, 2:UnavailableException ue, 3:TimedOutException
te),
 
   /**
@@ -414,7 +414,7 @@ service Cassandra {
   **/
   void batch_mutate(1:required string keyspace,
                     2:required map<string, map<string, list<Mutation>>>
mutation_map,
-                    3:required ConsistencyLevel consistency_level=ZERO)
+                    3:required ConsistencyLevel consistency_level=ONE)
        throws (1:InvalidRequestException ire, 2:UnavailableException ue, 3:TimedOutException
te),
        
   // Meta-APIs -- APIs to get information about the node or cluster,

Modified: cassandra/branches/cassandra-0.6/interface/thrift/gen-java/org/apache/cassandra/thrift/Cassandra.java
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.6/interface/thrift/gen-java/org/apache/cassandra/thrift/Cassandra.java?rev=924953&r1=924952&r2=924953&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.6/interface/thrift/gen-java/org/apache/cassandra/thrift/Cassandra.java
(original)
+++ cassandra/branches/cassandra-0.6/interface/thrift/gen-java/org/apache/cassandra/thrift/Cassandra.java
Thu Mar 18 19:08:57 2010
@@ -11215,7 +11215,7 @@ public class Cassandra {
     }
 
     public insert_args() {
-      this.consistency_level = ConsistencyLevel.ZERO;
+      this.consistency_level = ConsistencyLevel.ONE;
 
     }
 
@@ -12404,7 +12404,7 @@ public class Cassandra {
     }
 
     public batch_insert_args() {
-      this.consistency_level = ConsistencyLevel.ZERO;
+      this.consistency_level = ConsistencyLevel.ONE;
 
     }
 
@@ -13445,7 +13445,7 @@ public class Cassandra {
     }
 
     public remove_args() {
-      this.consistency_level = ConsistencyLevel.ZERO;
+      this.consistency_level = ConsistencyLevel.ONE;
 
     }
 
@@ -14539,7 +14539,7 @@ public class Cassandra {
     }
 
     public batch_mutate_args() {
-      this.consistency_level = ConsistencyLevel.ZERO;
+      this.consistency_level = ConsistencyLevel.ONE;
 
     }
 



Mime
View raw message