Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 5192 invoked from network); 6 Aug 2009 10:38:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Aug 2009 10:38:33 -0000 Received: (qmail 10238 invoked by uid 500); 6 Aug 2009 10:38:40 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 10157 invoked by uid 500); 6 Aug 2009 10:38:40 -0000 Mailing-List: contact cassandra-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-dev@incubator.apache.org Delivered-To: mailing list cassandra-commits@incubator.apache.org Received: (qmail 10138 invoked by uid 99); 6 Aug 2009 10:38:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Aug 2009 10:38:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Aug 2009 10:38:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C058E234C04B for ; Thu, 6 Aug 2009 03:38:15 -0700 (PDT) Message-ID: <1153554328.1249555095787.JavaMail.jira@brutus> Date: Thu, 6 Aug 2009 03:38:15 -0700 (PDT) From: "Mark Robson (JIRA)" To: cassandra-commits@incubator.apache.org Subject: [jira] Updated: (CASSANDRA-348) Range scan over two nodes returns wrong data In-Reply-To: <520035733.1249554975285.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Robson updated CASSANDRA-348: ---------------------------------- Attachment: setup.cas This is a cassandra-cli script used to load the test data which gets the results above. > Range scan over two nodes returns wrong data > -------------------------------------------- > > Key: CASSANDRA-348 > URL: https://issues.apache.org/jira/browse/CASSANDRA-348 > Project: Cassandra > Issue Type: Bug > Affects Versions: 0.4 > Reporter: Mark Robson > Attachments: setup.cas > > > I've got two nodes with tokens 00000000 and 88888888. I add 16 rows in which are spread over them, then do a key range scan. > I can scan part of the range successfully, but if I try to scan the entire range of keys (0-f) then I get unexpected results > ./Cassandra-remote -h localhost:9160 get_key_range Keyspace1 Standard1 0 31 1000 > ['00', '01', '10', '11', '20', '21', '30', '31'] > ./Cassandra-remote -h localhost:9160 get_key_range Keyspace1 Standard1 3 81 1000 > ['30', '31', '40', '41', '50', '51', '60', '61', '70', '71', '80', '81'] > ./Cassandra-remote -h localhost:9160 get_key_range Keyspace1 Standard1 7 b1 1000 > ['70', '71', '80', '81', '90', '91', 'a0', 'a1', 'b0', 'b1'] > ./Cassandra-remote -h localhost:9160 get_key_range Keyspace1 Standard1 a g 1000 > ['a0', 'a1', 'b0', 'b1', 'c0', 'c1', 'd0', 'd1', 'e0', 'e1', 'f0', 'f1'] > All of which returned as I expected. > But when I range scan the whole lot (0-g) then I get: > ./Cassandra-remote -h localhost:9160 get_key_range Keyspace1 Standard1 0 g 1000 > [ '00', > '90', > '91', > 'a0', > 'a1', > 'b0', > 'b1', > 'c0', > 'c1', > 'd0', > 'd1', > 'e0', > 'e1', > 'f0', > 'f1'] > Where have 01-81 gone? > I'll attach the data loading script. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.