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

Jonathan Ellis commented on CASSANDRA-5499:
-------------------------------------------

CASSANDRA-5518 does one piece.

Unfortunately AbstractReplicationStrategy is all over this, that's the main 
challenge.  Kind of surprising it works.
                
> Clean out TokenMetadata.getPrimaryRangeFor
> ------------------------------------------
>
>                 Key: CASSANDRA-5499
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5499
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 1.2.5
>
>
> TokenMetadata.getPrimaryRangeFor is dangerous because it can return invalid 
> results under NetworkTopologyStrategy.  Callers should generally use 
> StorageService.getPrimaryRangesForEndpoint instead.  See CASSANDRA-5424.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to