[
https://issues.apache.org/jira/browse/CASSANDRA-10099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15194393#comment-15194393
]
Yuki Morishita commented on CASSANDRA-10099:
--------------------------------------------
Thanks for the update. +1.
At first I thought we should remove {{while}} loop entirely from
{{getNextBackgroundTask}} also, but returning null just stops submitting
background task (until that 5-min resubmit kicks in), so for now, removing
{{synchronized}} will do.
> Improve concurrency in CompactionStrategyManager
> ------------------------------------------------
>
> Key: CASSANDRA-10099
> URL: https://issues.apache.org/jira/browse/CASSANDRA-10099
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Yuki Morishita
> Assignee: Marcus Eriksson
> Labels: compaction, lcs
> Fix For: 3.x
>
>
> Continue discussion from CASSANDRA-9882.
> CompactionStrategyManager(WrappingCompactionStrategy for <3.0) tracks SSTable
> changes mainly for separating repaired / unrepaired SSTables (+ LCS manages
> level).
> This is blocking operation, and can lead to block of flush etc. when
> determining next background task takes longer.
> Explore the way to mitigate this concurrency issue.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)