You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2011/02/21 17:02:39 UTC

[jira] Commented: (CASSANDRA-1720) DecoratedKey equals() only tests Token

    [ https://issues.apache.org/jira/browse/CASSANDRA-1720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12997458#comment-12997458 ] 

Jonathan Ellis commented on CASSANDRA-1720:
-------------------------------------------

(reverted b/c of CASSANDRA-1733)

> 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
>            Assignee: T Jake Luciani
>            Priority: Minor
>             Fix For: 0.7.0 rc 1
>
>         Attachments: 1034_v1.txt
>
>
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira