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

Marcus Eriksson commented on CASSANDRA-4766:
--------------------------------------------

need to mark the sstables as compacting before creating SSTableSplitter in 
StandaloneSplitter (cfs.getDataTracker().markCompacting(sstables)), otherwise 
it fails with:

Exception in thread "main" java.lang.AssertionError: 
/var/lib/cassandra/data/Keyspace1/Standard1/Keyspace1-Standard1-ic-3-Data.db is 
n
ot correctly marked compacting
        at 
org.apache.cassandra.db.compaction.AbstractCompactionTask.<init>(AbstractCompactionTask.java:50)
        at 
org.apache.cassandra.db.compaction.CompactionTask.<init>(CompactionTask.java:45)
        at 
org.apache.cassandra.db.compaction.SSTableSplitter$SplittingCompactionTask.<init>(SSTableSplitter.java:61)
        at 
org.apache.cassandra.db.compaction.SSTableSplitter.<init>(SSTableSplitter.java:34)
        at 
org.apache.cassandra.tools.StandaloneSplitter.main(StandaloneSplitter.java:149)

                
> ReverseCompaction
> -----------------
>
>                 Key: CASSANDRA-4766
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4766
>             Project: Cassandra
>          Issue Type: New Feature
>            Reporter: Edward Capriolo
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>             Fix For: 1.2.7
>
>         Attachments: 4766.txt
>
>
> Sometimes you run into a situation where your sized tiered SSTables get to be 
> a funky size. Maybe a repair starts this or you were forced into a 
> compaction. In any case we should be able to anti-compact a table, since 
> anti-compact is a bad word lets call this reverse compact. This could be done 
> online or offline. Closely related is SSTables cound have a max size. Leveled 
> is not right for everyone.

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

Reply via email to