You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (Jira)" <ji...@apache.org> on 2025/04/25 21:38:00 UTC
[jira] [Assigned] (CASSANDRA-20532) The property cassandra.streaming.session.parallelTransfers is partly ignored
[ https://issues.apache.org/jira/browse/CASSANDRA-20532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brandon Williams reassigned CASSANDRA-20532:
--------------------------------------------
Assignee: Brandon Williams
> The property cassandra.streaming.session.parallelTransfers is partly ignored
> ----------------------------------------------------------------------------
>
> Key: CASSANDRA-20532
> URL: https://issues.apache.org/jira/browse/CASSANDRA-20532
> Project: Apache Cassandra
> Issue Type: Bug
> Components: Consistency/Streaming
> Reporter: Alberto Bortolan
> Assignee: Brandon Williams
> Priority: Normal
> Fix For: 4.0.x, 4.1.x, 5.0.x, 5.x
>
>
> The property is ignored when it comes to create the semaphore used to control the streaming slots used, where it is always created using the default size.
> On the other hand, the netty pool for the transfers is sized accordingly if the property is defined.
> The fix is a trivial one-line change in [StreamingMultiplexedChannel.java|https://github.com/apache/cassandra/blob/cassandra-4.1.8/src/java/org/apache/cassandra/streaming/async/StreamingMultiplexedChannel.java#L98] ( v4.1+) or [NettyStreamingMessageSender.java|https://github.com/apache/cassandra/blob/cassandra-4.0.17/src/java/org/apache/cassandra/streaming/async/NettyStreamingMessageSender.java#L92] ( v4.0 ) where the semaphore size has to be changed from {{DEFAULT_MAX_PARALLEL_TRANSFERS}} to {{MAX_PARALLEL_TRANSFERS}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org