cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stu Hood (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (CASSANDRA-736) time to add first-class thrift methods for the string meta queries?
Date Mon, 08 Feb 2010 01:29:28 GMT

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

Stu Hood edited comment on CASSANDRA-736 at 2/8/10 1:28 AM:
------------------------------------------------------------

> the ranges are represent as a comma-separated string of left_token, right_token
This won't work for OPP, since StringToken may contain commas. To get around the Thrift map
restriction, you could use a list of key-value pairs instead? Also, you may want to just treat
tokens as opaque binaries.

EDIT: Nevermind about treating tokens as binaries... that would not be very friendly for client
side debugging.

      was (Author: stuhood):
    > the ranges are represent as a comma-separated string of left_token, right_token
This won't work for OPP, since StringToken may contain commas. To get around the Thrift map
restriction, you could use a list of key-value pairs instead? Also, you may want to just treat
tokens as opaque binaries.
  
> time to add first-class thrift methods for the string meta queries?
> -------------------------------------------------------------------
>
>                 Key: CASSANDRA-736
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-736
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Tools
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.6
>
>         Attachments: 736.txt
>
>
> I'd like to add these with a c_ (or system_? or meta_?) prefix, to make clear that clients
who just want to insert and update stuff don't need to care about it.
> currently get_string_property provides
> "cluster name"
> "config file" [I think we should get rid of this one]
> "token map"
> "version"
> get_string_list_property provides
> "keyspaces"

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


Mime
View raw message