You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sam Tunnicliffe (JIRA)" <ji...@apache.org> on 2015/12/04 21:06:11 UTC

[jira] [Updated] (CASSANDRA-10435) Index selectivity calculation is incorrect

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

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

> Index selectivity calculation is incorrect
> ------------------------------------------
>
>                 Key: CASSANDRA-10435
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10435
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CQL
>            Reporter: Sam Tunnicliffe
>            Assignee: Sam Tunnicliffe
>             Fix For: 3.0.0 rc2
>
>
> In {{SecondaryIndexManager::getBestIndexFor}}, the calculation to choose the most selective from a set of candidate indexes is incorrect. It currently chooses the index which returns the highest value from {{Index::getEstimatedResultRows}}. Obviously it should return the one with the fewest estimated results.



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