[
https://issues.apache.org/jira/browse/CASSANDRA-8805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benedict updated CASSANDRA-8805:
--------------------------------
Description: Operations like repair that may operate over all sstables
cancel compactions before beginning, and fail if there are any files marked
compacting after doing so. Redistribution of index summaries is not a
compaction, so is not cancelled by this action, but does mark sstables as
compacting, so such an action will fail to initiate if there is an index
summary redistribution in progress. It seems that IndexSummaryManager needs to
register itself as interruptible along with compactions (AFAICT no other
actions that may markCompacting are not themselves compactions). (was:
Operations that require running without ongoing compactions cancel those
compactions before beginning. Unfortunately some actions are not really
compactions, and so will not be cancelled by this action. Redistribution of
index summaries is one such action (there may be others). It seems that any
operation that may markCompacting needs to register itself as interruptible.)
> runWithCompactionsDisabled only cancels compactions, which is not the only
> source of markCompacted
> --------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-8805
> URL: https://issues.apache.org/jira/browse/CASSANDRA-8805
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Reporter: Benedict
> Fix For: 2.1.4
>
>
> Operations like repair that may operate over all sstables cancel compactions
> before beginning, and fail if there are any files marked compacting after
> doing so. Redistribution of index summaries is not a compaction, so is not
> cancelled by this action, but does mark sstables as compacting, so such an
> action will fail to initiate if there is an index summary redistribution in
> progress. It seems that IndexSummaryManager needs to register itself as
> interruptible along with compactions (AFAICT no other actions that may
> markCompacting are not themselves compactions).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)