You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Wei Deng (JIRA)" <ji...@apache.org> on 2016/02/03 02:39:39 UTC
[jira] [Updated] (CASSANDRA-11113)
DateTieredCompactionStrategy.getMaximalTask compacts repaired and
unrepaired sstables together
[ https://issues.apache.org/jira/browse/CASSANDRA-11113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wei Deng updated CASSANDRA-11113:
---------------------------------
Labels: dtcs (was: )
> DateTieredCompactionStrategy.getMaximalTask compacts repaired and unrepaired sstables together
> ----------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-11113
> URL: https://issues.apache.org/jira/browse/CASSANDRA-11113
> Project: Cassandra
> Issue Type: Bug
> Reporter: Blake Eggleston
> Assignee: Blake Eggleston
> Labels: dtcs
> Fix For: 3.0.x
>
>
> [DateTieredCompactionStrategy.getMaximalTask|https://github.com/apache/cassandra/blob/cassandra-3.0/src/java/org/apache/cassandra/db/compaction/DateTieredCompactionStrategy.java#L393-393] creates a compaction task for all of a tables sstables, instead of just the repaired/unrepaired subset it's responsible for.
> This compacts repaired and unrepaired sstables together, effectively demoting repaired data to unrepaired. Also, since both the repaired and unrepaired strategy instances are trying to compact the same sstables, there's a 1 minute delay waiting for {{CompactionManager.waitForCessation}} to time out before anything happens.
> Here's the script I used to duplicate: https://gist.github.com/bdeggleston/324f4f0df1b7273d8fd5
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)