cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Thompson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-5499) Clean out TokenMetadata.getPrimaryRangeFor
Date Tue, 31 Mar 2015 14:31:53 GMT

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

Philip Thompson commented on CASSANDRA-5499:
--------------------------------------------

Jonathan, is this still an issue? I'll assign it to someone.

> 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
>
> TokenMetadata.getPrimaryRangeFor is dangerous because it can return invalid results under
NetworkTopologyStrategy.  Callers should generally use StorageService.getPrimaryRangesForEndpoint
instead.  See CASSANDRA-5424.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message