cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei Deng (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-11113) DateTieredCompactionStrategy.getMaximalTask compacts repaired and unrepaired sstables together
Date Wed, 03 Feb 2016 01:39:39 GMT

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

Mime
View raw message