You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Nick Bailey (JIRA)" <ji...@apache.org> on 2011/02/16 00:56:57 UTC
[jira] Commented: (CASSANDRA-2166) Add getNaturalEndpoints method
for token/ip
[ 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