[ https://issues.apache.org/jira/browse/CASSANDRA-4049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13486900#comment-13486900 ]
Piotr Kołaczkowski commented on CASSANDRA-4049: ----------------------------------------------- Fixed the patch so it doesn't break tests - there is no need to create TOC if the SSTable doesn't exist at all. diff between the previous patch: {noformat} 119c119 < index 9a29066..b000d2f 100644 --- > index 9a29066..e84f561 100644 157c157 < @@ -175,36 +178,51 @@ public abstract class SSTable --- > @@ -175,36 +178,49 @@ public abstract class SSTable 184,185d183 < + if (components.isEmpty()) < + return components; 223c221 < @@ -253,4 +271,64 @@ public abstract class SSTable --- > @@ -253,4 +269,64 @@ public abstract class SSTable {noformat} > Add generic way of adding SSTable components required custom compaction > strategy > -------------------------------------------------------------------------------- > > Key: CASSANDRA-4049 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4049 > Project: Cassandra > Issue Type: New Feature > Components: Core > Reporter: Piotr Kołaczkowski > Assignee: Piotr Kołaczkowski > Priority: Minor > Labels: compaction > Fix For: 1.2.0 > > Attachments: 4049-v3.txt, 4049-v4.txt, 4049-v5.txt, > pluggable_custom_components-1.1.5-2.patch, > pluggable_custom_components-1.1.5.patch > > > CFS compaction strategy coming up in the next DSE release needs to store some > important information in Tombstones.db and RemovedKeys.db files, one per > sstable. However, currently Cassandra issues warnings when these files are > found in the data directory. Additionally, when switched to > SizeTieredCompactionStrategy, the files are left in the data directory after > compaction. > The attached patch adds new components to the Component class so Cassandra > knows about those files. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira