cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6645) upgradesstables causes NPE for secondary indexes without an underlying column family
Date Tue, 04 Feb 2014 05:46:09 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-6645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13890411#comment-13890411
] 

Jonathan Ellis commented on CASSANDRA-6645:
-------------------------------------------

On the first hunk, should {{indexManager.getIndexForColumn(expression.column_name)}} even
be including non-CF indexes?

> upgradesstables causes NPE for secondary indexes without an underlying column family
> ------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-6645
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6645
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Sergio Bossa
>            Assignee: Sergio Bossa
>             Fix For: 2.0.6
>
>         Attachments: CASSANDRA-6645.patch
>
>
> SecondaryIndex#getIndexCfs is allowed to return null by contract, if the index is not
backed by a column family, but this causes an NPE as StorageService#getValidColumnFamilies
and StorageService#upgradeSSTables do not check for null values.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message