You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "ZhaoYang (Jira)" <ji...@apache.org> on 2020/06/06 17:28:00 UTC
[jira] [Assigned] (CASSANDRA-15859) Avoid per-host hinted-handoff
throttle being rounded to 0 in large cluster
[ https://issues.apache.org/jira/browse/CASSANDRA-15859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ZhaoYang reassigned CASSANDRA-15859:
------------------------------------
Assignee: ZhaoYang
> Avoid per-host hinted-handoff throttle being rounded to 0 in large cluster
> --------------------------------------------------------------------------
>
> Key: CASSANDRA-15859
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15859
> Project: Cassandra
> Issue Type: Bug
> Components: Consistency/Hints
> Reporter: ZhaoYang
> Assignee: ZhaoYang
> Priority: Normal
> Labels: low-hanging-fruit
> Fix For: 3.0.x, 3.11.x, 4.0-rc
>
>
> When "hinted_handoff_throttle_in_kb" is sufficiently small or num of nodes in the cluster is sufficiently large, the per-host throttle will be rounded to 0, aka. unthrottled.
>
> {code:java|title=HintsDispatchExecutor.java}
> int throttleInKB = DatabaseDescriptor.getHintedHandoffThrottleInKB() / nodesCount;
> this.rateLimiter = RateLimiter.create(throttleInKB == 0 ? Double.MAX_VALUE : throttleInKB * 1024);
> {code}
> [trunk-patch|https://github.com/apache/cassandra/pull/616]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org