Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 42579 invoked from network); 22 Feb 2011 05:14:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Feb 2011 05:14:03 -0000 Received: (qmail 25657 invoked by uid 500); 22 Feb 2011 05:14:03 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 25497 invoked by uid 500); 22 Feb 2011 05:14:00 -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 25489 invoked by uid 99); 22 Feb 2011 05:13:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Feb 2011 05:13:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Feb 2011 05:13:58 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7087B1B19E8 for ; Tue, 22 Feb 2011 05:13:38 +0000 (UTC) Date: Tue, 22 Feb 2011 05:13:38 +0000 (UTC) From: "Tyler Hobbs (JIRA)" To: commits@cassandra.apache.org Message-ID: <864298151.7334.1298351618457.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <541942180.7240.1298342200710.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (CASSANDRA-2212) Cannot get range slice of super columns in reversed order MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12997642#comment-12997642 ] Tyler Hobbs commented on CASSANDRA-2212: ---------------------------------------- I am able to reproduce this with revision r1072164 (from Feb. 18, a couple days after 0.7.2) on a single node. Other column ranges work as expected for reversed slices. > Cannot get range slice of super columns in reversed order > --------------------------------------------------------- > > Key: CASSANDRA-2212 > URL: https://issues.apache.org/jira/browse/CASSANDRA-2212 > Project: Cassandra > Issue Type: Bug > Components: Core > Affects Versions: 0.7.2 > Environment: Fedore 11, Intel Core i5 > Reporter: Muga Nishizawa > Fix For: 0.7.3 > > Attachments: cassandra_sample_insert.py, cassandra_sample_rangeslice.py, create_table.cli > > > I cannot get range slice of super columns in reversed order. These data are stored in Cassandra in advance. On the other hand, range slice of these data in normal order can be acquired. > You can reproduce the bug by executing attached programs. > - 1. Start Cassandra daemon on localhost (number of thrift port is 9160) > - 2. Create keyspace and column family, according to "create_table.cli", > - 3. Execute "cassandra_sample_insert.py", storing pairs of row keys and super columns > - 4. Execute "cassandra_sample_rangeslice.py" and get range slice of stored super columns > "cassandra_sample_insert.py" and "cassandra_sample_rangeslice.py" require pycassa. > You will need to execute 4."cassandra_sample_rangeslice.py" with following options so that you get range slice of super columns in reversed order. > % python cassandra_sample_rangeslice.py -r 00082 00083 > On the other hand, to get range slice in normal order, you will need to use following options. > % python cassandra_sample_rangeslice.py -f 00082 00083 > 00082 and 00083 are the specified key range. Range slice can be acquired in normal order but, I cannot get it in reversed order. > I assume that there may be a bug within the code for acquiring the index block of specified range. In fact, 00083 is included in gap between lastName of index block and firstName of next index block. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira