You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2014/08/18 18:48:18 UTC

[jira] [Commented] (CASSANDRA-7787) 2i index indexing the cql3 row marker throws NPE

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

Sylvain Lebresne commented on CASSANDRA-7787:
---------------------------------------------

I'll note that imo indexing the CQL3 row marker is a very bad idea as the row marker is an implementation detail and there is no guarantee whatsoever on when/if it will be present.

> 2i index indexing the cql3 row marker throws NPE
> ------------------------------------------------
>
>                 Key: CASSANDRA-7787
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7787
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Berenguer Blasi
>            Priority: Minor
>             Fix For: 2.0.10
>
>         Attachments: cassandra-2.0-7787.txt
>
>
> If you have a secondary index implementation that 'indexes()' the cql3 row marker you get a NPE in SecondaryIndexManager/deleteFromIndexes() as the call to getColumnDefinitionFromColumnName() returns null which is not checked for.



--
This message was sent by Atlassian JIRA
(v6.2#6252)