[
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