[
https://issues.apache.org/jira/browse/CASSANDRA-3430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13605330#comment-13605330
]
Sylvain Lebresne commented on CASSANDRA-3430:
---------------------------------------------
* For 2ndary indexes in truncate, we do interrupt the running compactions, but
we don't pause the strategy for the indexes (and so new compaction might be
created).
* TableTest is still throwing the assertion. That might be because I think
runWithCompactionsDisabled is racy. Namely, in getNextBackgroundTask, a task
can have passed the isActive test but not have been marked compacting when
runWithCompactionsDisabled does it's isCompacting check. Then it gets marked
compacting just in time for the assertion to fail.
* Nit: Let's remove the comment on CM.interruptCompactionFor that pretends it
is waiting.
> Break Big Compaction Lock apart
> -------------------------------
>
> Key: CASSANDRA-3430
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3430
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Reporter: Jonathan Ellis
> Assignee: Jonathan Ellis
> Priority: Minor
> Labels: compaction
> Fix For: 2.0
>
> Attachments: 3430-1.0.txt, 3430-1.1.txt, 3430-v2.txt, 3430-v3.txt
>
>
--
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