[ https://issues.apache.org/jira/browse/CASSANDRA-10550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14965147#comment-14965147 ]
Sam Tunnicliffe commented on CASSANDRA-10550: --------------------------------------------- Thanks, that LGTM. I'll commit once CI is happy (the NPE isn't possible with 3.0+, so I'm only running 2.1/2.2): ||2.1||2.2|| |[branch|https://github.com/beobal/cassandra/tree/10550-2.1]|[branch|https://github.com/beobal/cassandra/tree/10550-2.2]| |[testall|http://cassci.datastax.com/view/Dev/view/beobal/job/beobal-10550-2.1-testall/]|[testall|http://cassci.datastax.com/view/Dev/view/beobal/job/beobal-10550-2.2-testall/]| |[dtests|http://cassci.datastax.com/view/Dev/view/beobal/job/beobal-10550-2.1-dtest/]|[dtests|http://cassci.datastax.com/view/Dev/view/beobal/job/beobal-10550-2.2-dtest/]| > NPE on null 'highestSelectivityIndex()' > --------------------------------------- > > Key: CASSANDRA-10550 > URL: https://issues.apache.org/jira/browse/CASSANDRA-10550 > Project: Cassandra > Issue Type: Bug > Components: Core > Reporter: Berenguer Blasi > Assignee: Berenguer Blasi > Fix For: 2.1.x > > Attachments: cassandra-2.1-10550.txt > > > {{org.apache.cassandra.db.index.SecondaryIndexSearcher.highestSelectivityIndex()}} > might return 'null' which makes > {{org.apache.cassandra.service.StorageProxy.estimateResultRowsPerRange()}} > NPE on some custom index implementations. -- This message was sent by Atlassian JIRA (v6.3.4#6332)