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-3087) Leveled compaction allows multiple simultaneous compaction Tasks
Date Thu, 21 Jul 2016 07:28:20 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-3087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Wei Deng updated CASSANDRA-3087:
--------------------------------
    Labels: lcs  (was: )

> Leveled compaction allows multiple simultaneous compaction Tasks
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-3087
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3087
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>              Labels: lcs
>             Fix For: 1.0.0
>
>         Attachments: 3087-v2.txt, 3087.txt
>
>
> CASSANDRA-1608 attempts to restrict itself to one compaction task per CF (see discussion
there for why this is necessary) by synchronizing LCS.getBackgroundTasks but this is not sufficient.
 Consider this sequence of events:
> 1. getBackgroundTasks returns a Task for compacting some L0 sstables.  this Task is scheduled.
> 2. Another SSTable for this CF is flushed, so CompactionManager.submitBackground is called.
 getBT is not currently in-progress so the synchronization does not stop another Task from
being returned and scheduled.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message