cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdusba...@apache.org
Subject svn commit: r950991 - in /cassandra/branches/cassandra-0.6: CHANGES.txt src/java/org/apache/cassandra/thrift/CassandraServer.java
Date Thu, 03 Jun 2010 13:30:33 GMT
Author: gdusbabek
Date: Thu Jun  3 13:30:33 2010
New Revision: 950991

URL: http://svn.apache.org/viewvc?rev=950991&view=rev
Log:
CL.ALL shouldn't throw an exception on read. Patch by Yuki Morishita, reviewed by Gary Dusbabek.
CASSANDRA-1152

Modified:
    cassandra/branches/cassandra-0.6/CHANGES.txt
    cassandra/branches/cassandra-0.6/src/java/org/apache/cassandra/thrift/CassandraServer.java

Modified: cassandra/branches/cassandra-0.6/CHANGES.txt
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.6/CHANGES.txt?rev=950991&r1=950990&r2=950991&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.6/CHANGES.txt (original)
+++ cassandra/branches/cassandra-0.6/CHANGES.txt Thu Jun  3 13:30:33 2010
@@ -4,6 +4,7 @@
  * reject describe_ring() calls on invalid keyspaces (CASSANDRA-1111)
  * fix cache size calculation for size of 100% (CASSANDRA-1129)
  * fix cache capacity only being recalculated once (CASSANDRA-1129)
+ * don't reject reads at CL.ALL (CASSANDRA-1152)
 
 
 0.6.2

Modified: cassandra/branches/cassandra-0.6/src/java/org/apache/cassandra/thrift/CassandraServer.java
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.6/src/java/org/apache/cassandra/thrift/CassandraServer.java?rev=950991&r1=950990&r2=950991&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.6/src/java/org/apache/cassandra/thrift/CassandraServer.java
(original)
+++ cassandra/branches/cassandra-0.6/src/java/org/apache/cassandra/thrift/CassandraServer.java
Thu Jun  3 13:30:33 2010
@@ -86,10 +86,6 @@ public class CassandraServer implements 
         {
             throw new InvalidRequestException("Consistency level zero may not be applied
to read operations");
         }
-        if (consistency_level == ConsistencyLevel.ALL)
-        {
-            throw new InvalidRequestException("Consistency level all is not yet supported
on read operations");
-        }
         if (consistency_level == ConsistencyLevel.ANY)
         {
             throw new InvalidRequestException("Consistency level any may not be applied to
read operations");



Mime
View raw message