[ 
https://issues.apache.org/jira/browse/CASSANDRA-9592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14584182#comment-14584182
 ] 

Jeremiah Jordan commented on CASSANDRA-9592:
--------------------------------------------

bq. I think this change makes compaction kick scheduled here obsolete so we can 
delete it.

We should make this new task every 5/10 minutes then so that we don't start 
compactions early.  The "5 minute window with no compactions" is nice to have 
to giving an operator time to disable compaction over JMX or other such things. 
 So we shouldn't lower it down to only 1 minute.

> `Periodically attempt to submit background compaction tasks
> -----------------------------------------------------------
>
>                 Key: CASSANDRA-9592
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9592
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Benedict
>            Assignee: Benedict
>            Priority: Trivial
>             Fix For: 2.1.x
>
>
> There's more race conditions affecting compaction task submission than 
> CASSANDRA-7745, so to prevent some of these problems stalling compactions, I 
> propose simply submitting background compactions once every minute, if 
> possible. This will typically be a no-op, but there's no harm in that, since 
> it's very cheap to do.



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

Reply via email to