[jira] [Updated] (CASSANDRA-6645) upgradesstables causes NPE for secondary indexes without an underlying column family

2014-02-06 Thread Jonathan Ellis (JIRA)

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

Jonathan Ellis updated CASSANDRA-6645:
--

Reproduced In: 2.0.4, 1.2.14  (was: 1.2.14, 2.0.4)
Fix Version/s: 1.2.16

> 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: 1.2.16, 2.0.6
>
> Attachments: CASSANDRA-6645-1_2.patch, 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)


[jira] [Updated] (CASSANDRA-6645) upgradesstables causes NPE for secondary indexes without an underlying column family

2014-02-05 Thread Sergio Bossa (JIRA)

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

Sergio Bossa updated CASSANDRA-6645:


Attachment: CASSANDRA-6645-1_2.patch

Attached patch for 1.2 too.

> 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-1_2.patch, 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)


[jira] [Updated] (CASSANDRA-6645) upgradesstables causes NPE for secondary indexes without an underlying column family

2014-02-05 Thread Sergio Bossa (JIRA)

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

Sergio Bossa updated CASSANDRA-6645:


Reproduced In: 2.0.4, 1.2.14  (was: 2.0.4)

> 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)


[jira] [Updated] (CASSANDRA-6645) upgradesstables causes NPE for secondary indexes without an underlying column family

2014-02-03 Thread Jonathan Ellis (JIRA)

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

Jonathan Ellis updated CASSANDRA-6645:
--

 Reviewer: Jonathan Ellis
Fix Version/s: 2.0.6

> 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)


[jira] [Updated] (CASSANDRA-6645) upgradesstables causes NPE for secondary indexes without an underlying column family

2014-02-03 Thread Sergio Bossa (JIRA)

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

Sergio Bossa updated CASSANDRA-6645:


Attachment: CASSANDRA-6645.patch

> 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
> 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)