[
https://issues.apache.org/jira/browse/CASSANDRA-20532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brandon Williams updated CASSANDRA-20532:
-----------------------------------------
Status: Ready to Commit (was: Review In Progress)
> 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: [email protected]
For additional commands, e-mail: [email protected]