o.a.c.dht.Range.getDifferenceToFetch() depends on StorageProxy 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 StorageProxy.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

        

Reply via email to