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

Nick Bailey commented on CASSANDRA-2166:
----------------------------------------

This can actually be accomplished with getRangeToEndpointMap. It still might be 
useful to have a method that takes a keyspace and an ip and returns a list of 
ips though. Especially since getRangeToEndpointMap returns cassandra specific 
objects which is kind of a pain.

> Add getNaturalEndpoints method for token/ip
> -------------------------------------------
>
>                 Key: CASSANDRA-2166
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2166
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7.1
>            Reporter: Nick Bailey
>            Priority: Minor
>             Fix For: 0.7.2
>
>
> getNaturalEndpoint currently takes a key and gives you the replicas. It would 
> also be nice to have a method that takes a token/ip and gives you the 
> replicas.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to