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] [Created] (CASSANDRA-10435) Index selectivity calculation is incorrect
Date Fri, 02 Oct 2015 11:49:26 GMT
Sam Tunnicliffe created CASSANDRA-10435:
-------------------------------------------

             Summary: Index selectivity calculation is incorrect
                 Key: CASSANDRA-10435
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10435
             Project: Cassandra
          Issue Type: Bug
            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)

Mime
View raw message