cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r947886 - in /cassandra/branches/cassandra-0.6/interface: cassandra.thrift thrift/gen-java/org/apache/cassandra/thrift/ConsistencyLevel.java thrift/gen-java/org/apache/cassandra/thrift/SliceRange.java
Date Tue, 25 May 2010 01:09:16 GMT
Author: jbellis
Date: Tue May 25 01:09:16 2010
New Revision: 947886

URL: http://svn.apache.org/viewvc?rev=947886&view=rev
Log:
belatedly document that CL.ALL is supported for reads

Modified:
    cassandra/branches/cassandra-0.6/interface/cassandra.thrift
    cassandra/branches/cassandra-0.6/interface/thrift/gen-java/org/apache/cassandra/thrift/ConsistencyLevel.java
    cassandra/branches/cassandra-0.6/interface/thrift/gen-java/org/apache/cassandra/thrift/SliceRange.java

Modified: cassandra/branches/cassandra-0.6/interface/cassandra.thrift
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.6/interface/cassandra.thrift?rev=947886&r1=947885&r2=947886&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.6/interface/cassandra.thrift (original)
+++ cassandra/branches/cassandra-0.6/interface/cassandra.thrift Tue May 25 01:09:16 2010
@@ -151,7 +151,7 @@ exception AuthorizationException {
  *              calls will have correct data even if the initial read gets an older value.
(This is called 'read repair'.)
  *      QUORUM  Will query all storage nodes and return the record with the most recent timestamp
once it has at least a
  *              majority of replicas reported. Again, the remaining replicas will be checked
in the background.
- *      ALL     Not yet supported, but we plan to eventually.
+ *      ALL     Queries all storage nodes and returns the record with the most recent timestamp.
 */
 enum ConsistencyLevel {
     ZERO = 0,

Modified: cassandra/branches/cassandra-0.6/interface/thrift/gen-java/org/apache/cassandra/thrift/ConsistencyLevel.java
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.6/interface/thrift/gen-java/org/apache/cassandra/thrift/ConsistencyLevel.java?rev=947886&r1=947885&r2=947886&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.6/interface/thrift/gen-java/org/apache/cassandra/thrift/ConsistencyLevel.java
(original)
+++ cassandra/branches/cassandra-0.6/interface/thrift/gen-java/org/apache/cassandra/thrift/ConsistencyLevel.java
Tue May 25 01:09:16 2010
@@ -55,7 +55,7 @@ import org.apache.thrift.TEnum;
  *              calls will have correct data even if the initial read gets an older value.
(This is called 'read repair'.)
  *      QUORUM  Will query all storage nodes and return the record with the most recent timestamp
once it has at least a
  *              majority of replicas reported. Again, the remaining replicas will be checked
in the background.
- *      ALL     Not yet supported, but we plan to eventually.
+ *      ALL     Queries all storage nodes and returns the record with the most recent timestamp.
  */
 public enum ConsistencyLevel implements TEnum {
   ZERO(0),

Modified: cassandra/branches/cassandra-0.6/interface/thrift/gen-java/org/apache/cassandra/thrift/SliceRange.java
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.6/interface/thrift/gen-java/org/apache/cassandra/thrift/SliceRange.java?rev=947886&r1=947885&r2=947886&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.6/interface/thrift/gen-java/org/apache/cassandra/thrift/SliceRange.java
(original)
+++ cassandra/branches/cassandra-0.6/interface/thrift/gen-java/org/apache/cassandra/thrift/SliceRange.java
Tue May 25 01:09:16 2010
@@ -53,7 +53,7 @@ import org.apache.thrift.protocol.*;
  *               must a valid value under the rules of the Comparator defined for the given
ColumnFamily.
  * @param finish. The column name to stop the slice at. This attribute is not required, though
there is no default value,
  *                and can be safely set to an empty byte array to not stop until 'count'
results are seen. Otherwise, it
- *                must also be a value value to the ColumnFamily Comparator.
+ *                must also be a valid value to the ColumnFamily Comparator.
  * @param reversed. Whether the results should be ordered in reversed order. Similar to ORDER
BY blah DESC in SQL.
  * @param count. How many keys to return. Similar to LIMIT 100 in SQL. May be arbitrarily
large, but Thrift will
  *               materialize the whole result into memory before returning it to the client,
so be aware that you may



Mime
View raw message