Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 37722 invoked from network); 9 Feb 2010 22:24:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Feb 2010 22:24:58 -0000 Received: (qmail 96926 invoked by uid 500); 9 Feb 2010 22:24:58 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 96901 invoked by uid 500); 9 Feb 2010 22:24:58 -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 96891 invoked by uid 99); 9 Feb 2010 22:24:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 22:24:58 +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; Tue, 09 Feb 2010 22:24:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 35621234C052 for ; Tue, 9 Feb 2010 14:24:28 -0800 (PST) Message-ID: <1036085458.163551265754268217.JavaMail.jira@brutus.apache.org> Date: Tue, 9 Feb 2010 22:24:28 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: cassandra-commits@incubator.apache.org Subject: [jira] Updated: (CASSANDRA-781) in a cluster, get_range_slice() does not return all the keys it should In-Reply-To: <249143543.133951265668407988.JavaMail.jira@brutus.apache.org> 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-781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-781: ------------------------------------- Attachment: AbstractBounds.java weird, happens for me too. lame! attached Bounds and AbstractBounds as they should look, post-patch. just do what you showed in the transcript, then overwrite the local copies with these. > in a cluster, get_range_slice() does not return all the keys it should > ---------------------------------------------------------------------- > > Key: CASSANDRA-781 > URL: https://issues.apache.org/jira/browse/CASSANDRA-781 > Project: Cassandra > Issue Type: Bug > Affects Versions: 0.5 > Environment: Debian 5 lenny on EC2, Gentoo linux, Windows XP > Reporter: bjc > Assignee: Jonathan Ellis > Fix For: 0.5, 0.6 > > Attachments: 0001-fix-timeout-bug.txt, 0002-fix-slices-over-non-trivial-wrapped-ranges.txt, AbstractBounds.java, Bounds.java > > > get_range_slice() does not return the same set of keys as get_key_range() in 0.5.0 final. > I posted a program to reproduce the behavior: > http://www.mail-archive.com/cassandra-dev@incubator.apache.org/msg01474.html > Apparently, you must have more than one node to get the behavior. Also, it may depend on the locations of the nodes on the ring.. I.e., if you don't generate enough keys randomly, then by chance they could all fall on the same host and you might not see the behavior, although I was able to get it to happen using only 2 nodes and 10 keys. > Here are the other emails describing the issue: > http://www.mail-archive.com/cassandra-user@incubator.apache.org/msg02423.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.