Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 44368 invoked from network); 25 May 2010 01:09:37 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 May 2010 01:09:37 -0000 Received: (qmail 97515 invoked by uid 500); 25 May 2010 01:09:37 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 97494 invoked by uid 500); 25 May 2010 01:09:37 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 97486 invoked by uid 99); 25 May 2010 01:09:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 May 2010 01:09:37 +0000 X-ASF-Spam-Status: No, hits=-1452.0 required=10.0 tests=ALL_TRUSTED,AWL,DRUGS_ERECTILE,DRUGS_ERECTILE_OBFU X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 May 2010 01:09:36 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 998142388900; Tue, 25 May 2010 01:09:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@cassandra.apache.org From: jbellis@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100525010916.998142388900@eris.apache.org> 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