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

Jonathan Ellis commented on CASSANDRA-1600:
-------------------------------------------

bq. when a node has a range like (2^127-1, 2^126], it really hold both ranges 
(0, 2^126] and (2^127, 2^127-1] which are non contiguous as far as the ordering 
on disk is concerned.

Fair enough.

bq. this is not a problem introduced by this patch

Created CASSANDRA-3687.

+1 on v4.
                
> Merge get_indexed_slices with get_range_slices
> ----------------------------------------------
>
>                 Key: CASSANDRA-1600
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1600
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: API
>            Reporter: Stu Hood
>            Assignee: Sylvain Lebresne
>             Fix For: 1.1
>
>         Attachments: 
> 0001-Add-optional-FilterClause-to-KeyRange-and-support-do-v2.patch, 
> 0001-Add-optional-FilterClause-to-KeyRange-and-support-doin.txt, 
> 0001-Add-optional-FilterClause-to-KeyRange-v3.patch, 
> 0001-Add-optional-index-clause-to-KeyRange-v4.patch, 
> 0002-allow-get_range_slices-to-apply-filter-to-a-sequenti-v2.patch, 
> 0002-allow-get_range_slices-to-apply-filter-to-a-sequential.txt, 
> 0002-thrift-generated-code-changes-v3.patch, 
> 0002-thrift-generated-code-changes-v4.patch, 
> 0003-Allow-get_range_slices-to-apply-filter-to-a-sequenti-v3.patch, 
> 0003-Allow-get_range_slices-to-apply-filter-to-a-sequenti-v4.patch, 
> 0004-Update-cql-to-not-use-deprecated-index-scan-v3.patch
>
>
> From a comment on 1157:
> {quote}
> IndexClause only has a start key for get_indexed_slices, but it would seem 
> that the reasoning behind using 'KeyRange' for get_range_slices applies there 
> as well, since if you know the range you care about in the primary index, you 
> don't want to continue scanning until you exhaust 'count' (or the cluster).
> Since it would appear that get_indexed_slices would benefit from a KeyRange, 
> why not smash get_(range|indexed)_slices together, and make IndexClause an 
> optional field on KeyRange?
> {quote}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to