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/01/18 18:21:45 UTC

[jira] Commented: (CASSANDRA-1978) get_range_slices: allow key and token to be interoperable

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

Jonathan Ellis commented on CASSANDRA-1978:
-------------------------------------------

I don't understand what problem this is solving.  "walking a randomly partitioned cluster by token" is what hadoop does.  why would you need/want to mix keys and tokens?

> get_range_slices: allow key and token to be interoperable
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-1978
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1978
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Kelvin Kakugawa
>            Assignee: Kelvin Kakugawa
>            Priority: Minor
>         Attachments: 0001-CASSANDRA-1978-allow-key-token-to-be-interoperable-i.patch
>
>
> problem: get_range_slices requires two keys or two tokens, so we can't walk a randomly partitioned cluster by token.
> solution: allow keys and tokens to be mixed.  however, if one side is a token, promote the bounds to a dht.Range, instead of a dht.Bounds.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.