cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Tunnicliffe (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-10560) Remove unnecessary index lookups for single partition reads
Date Fri, 04 Dec 2015 20:03:11 GMT

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

Sam Tunnicliffe updated CASSANDRA-10560:
----------------------------------------
    Component/s: CQL

> Remove unnecessary index lookups for single partition reads
> -----------------------------------------------------------
>
>                 Key: CASSANDRA-10560
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10560
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CQL
>            Reporter: Sam Tunnicliffe
>            Assignee: Sam Tunnicliffe
>             Fix For: 3.0.0
>
>
> For single partition reads, we currently perform an unnecessary call to SecondaryIndexManager
to lookup the most selective index based on the command's RowFilter. This is redundant as
if any applicable indexes are present, the query would be performed using a range command
(there was some code introduced into {{CassandraIndexSearcher}} by CASSANDRA-8099 in preparation
for supporting indexes on single partition reads, but it is as yet unused). Given that, we
should make sure we don't perform that lookup for now.



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

Mime
View raw message