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/10/02 13:49:26 UTC
[jira] [Created] (CASSANDRA-10435) Index selectivity calculation is
incorrect
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)