You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "T Jake Luciani (Commented) (JIRA)" <ji...@apache.org> on 2012/02/07 15:42:59 UTC

[jira] [Commented] (CASSANDRA-3844) Truncate leaves behind non-CFS backed secondary indexes

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

T Jake Luciani commented on CASSANDRA-3844:
-------------------------------------------

SIM.getIndexes() should use a IdenenityHashMap since PerRowSecondaryIndexes share the same instance across rows.
                
> Truncate leaves behind non-CFS backed secondary indexes
> -------------------------------------------------------
>
>                 Key: CASSANDRA-3844
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3844
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.0.7
>            Reporter: T Jake Luciani
>            Assignee: Pavel Yaskevich
>            Priority: Minor
>             Fix For: 1.0.8
>
>         Attachments: CASSANDRA-3844.patch
>
>
> If you setup a CF with a non-cfs backed secondary index then trucate it, nothing happens to the secondary index. we need a hook for CFStore to clean these up.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira