[
https://issues.apache.org/jira/browse/CASSANDRA-4100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13250188#comment-13250188
]
Yuki Morishita commented on CASSANDRA-4100:
-------------------------------------------
OK, so static Throttle is fine here since one compaction_throughput_mb_per_sec
is used for all compactions. Then, do we need to divide that by number of
active compactions? I'm referring the code inside the implementation of
ThroughputFunction:
{code}
totalBytesPerMS / Math.max(1,
CompactionManager.instance.getActiveCompactions());
{code}
> Make scrub and cleanup operations throttled
> -------------------------------------------
>
> Key: CASSANDRA-4100
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4100
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Reporter: Vijay
> Assignee: Vijay
> Priority: Minor
> Labels: compaction
> Fix For: 1.0.10
>
> Attachments: 0001-CASSANDRA-4100.patch
>
>
> Looks like scrub and cleanup operations are not throttled and it will be nice
> to throttle else we are likely to run into IO issues while running it on live
> cluster.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira