Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 32920 invoked from network); 9 Nov 2010 16:05:01 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Nov 2010 16:05:01 -0000 Received: (qmail 82292 invoked by uid 500); 9 Nov 2010 16:05:32 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 82275 invoked by uid 500); 9 Nov 2010 16:05:32 -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 82267 invoked by uid 99); 9 Nov 2010 16:05:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Nov 2010 16:05:32 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Nov 2010 16:05:30 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oA9G58JD019102 for ; Tue, 9 Nov 2010 16:05:08 GMT Message-ID: <24462730.103821289318708873.JavaMail.jira@thor> Date: Tue, 9 Nov 2010 11:05:08 -0500 (EST) From: "Stu Hood (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Reopened: (CASSANDRA-1720) DecoratedKey equals() only tests Token In-Reply-To: <675548.94921289276647259.JavaMail.jira@thor> 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-1720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stu Hood reopened CASSANDRA-1720: --------------------------------- +1 on the patch originally from 1034 > DecoratedKey equals() only tests Token > -------------------------------------- > > Key: CASSANDRA-1720 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1720 > Project: Cassandra > Issue Type: Bug > Components: Core > Reporter: T Jake Luciani > Priority: Minor > > I'm working on a new Partitioner for Lucandra that lets many keys share the same token. > When I use this partitioner SliceQueryFilter class returns all rows that match key with the same Token. This isn't correct in my mind. > Tokens should only be used to route a Key in the ring. DecoratedKey equals() hashCode() and compare() should consider Token *and* Key > Thoughts? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.