[
https://issues.apache.org/jira/browse/CASSANDRA-3844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Yaskevich updated CASSANDRA-3844:
---------------------------------------
Attachment: CASSANDRA-3844.patch
This patch encapsulates truncate logic into SecondaryIndex.truncate(long)
abstract method so every type of indices would be able to implement desired
logic (currently implemented for KeysIndex), which also removes a good bit of
code from CompactionManager.submitTruncate(...).
> 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