[ https://issues.apache.org/jira/browse/CASSANDRA-20532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17947410#comment-17947410 ]
Brandon Williams commented on CASSANDRA-20532: ---------------------------------------------- ||Branch||CI|| |[4.0|https://github.com/driftx/cassandra/tree/CASSANDRA-20532-4.0]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/1859/workflows/85a7a425-a60d-475a-adf0-11834f35a743], [j11|https://app.circleci.com/pipelines/github/driftx/cassandra/1859/workflows/c48b56e4-ff50-4d58-bf4d-a514c6b9fbaa]| |[4.1|https://github.com/driftx/cassandra/tree/CASSANDRA-20532-4.1]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/1861/workflows/99db64e6-7e78-4bab-af59-b85db79fe2b6], [j11|https://app.circleci.com/pipelines/github/driftx/cassandra/1861/workflows/298610de-c018-49fa-9425-8e04592933cc]| |[5.0|https://github.com/driftx/cassandra/tree/CASSANDRA-20532-5.0]|[j11|https://app.circleci.com/pipelines/github/driftx/cassandra/1860/workflows/e5f54cf4-4866-4f9b-8f60-98c5b8fe2569], [j17|https://app.circleci.com/pipelines/github/driftx/cassandra/1860/workflows/1bd65b19-e7a7-4416-9e06-b48e05ad3427]| |[trunk|https://github.com/driftx/cassandra/tree/CASSANDRA-20532-trunk]|[j11|https://app.circleci.com/pipelines/github/driftx/cassandra/1862/workflows/66ec7618-b6bb-46b2-9e24-e6b060b06020], [j17|https://app.circleci.com/pipelines/github/driftx/cassandra/1862/workflows/b24164e9-60e2-4711-b0b1-93dc5e690661]| > 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 > 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-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org