You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2011/09/02 19:01:10 UTC

[jira] [Resolved] (CASSANDRA-3083) o.a.c.dht.Range.getDifferenceToFetch() depends on StorageService singleton

     [ https://issues.apache.org/jira/browse/CASSANDRA-3083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-3083.
---------------------------------------

    Resolution: Duplicate

fixed in CASSANDRA-3108

> o.a.c.dht.Range.getDifferenceToFetch() depends on StorageService singleton
> --------------------------------------------------------------------------
>
>                 Key: CASSANDRA-3083
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3083
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.8.4
>            Reporter: Tyler Hobbs
>
> Range.getDifferenceToFetch() is handy for doing math with range sets, but it cannot be used outside of a Cassandra instance because it creates new Range objects with the constructor that uses StorageService.getPartitioner(), a static function.
> Overloading this method to allow a partitioner to be supplied (so that the Range(lhs, rhs, partitioner) ctor can be used) would make this possible.

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