[
https://issues.apache.org/jira/browse/CASSANDRA-17243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17476098#comment-17476098
]
Andres de la Peña commented on CASSANDRA-17243:
-----------------------------------------------
I have just added this entry to NEWS.txt in all branches:
{code:java}
The config properties for setting the streaming throughput
`stream_throughput_outbound_megabits_per_sec` and
`inter_dc_stream_throughput_outbound_megabits_per_sec` were incorrectly
interpreted as mebibits. This has
been fixed by CASSANDRA-17243, so the values for these properties will now
indicate a throughput ~4.6% lower than
what was actually applied in previous versions. This also affects the setters
and getters for these properties in
the JMX MBean `org.apache.cassandra.db:type=StorageService` and the nodetool
commands `set/getstreamthroughput`
and `set/getinterdcstreamthroughput`.
{code}
We don't need to mention
{{entire_sstable_stream_throughput_outbound_megabits_per_sec}} nor
{{entire_sstable_inter_dc_stream_throughput_outbound_megabits_per_sec}} because
they have been recently added to 4.1, and they don't exist on previous versions.
> Fix BYTES_PER_MEGABIT in StreamManager
> --------------------------------------
>
> Key: CASSANDRA-17243
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17243
> Project: Cassandra
> Issue Type: Bug
> Components: Consistency/Streaming
> Reporter: Ekaterina Dimitrova
> Assignee: Andres de la Peña
> Priority: Normal
> Fix For: 3.0.x, 3.11.x, 4.0.x, 4.x
>
>
> While working on CASSANDRA-15234 I noticed BYTES_PER_MEGABIT constant in the
> {code:java}
> StreamManager
> {code}
> class. It was introduced in CASSANDRA-16959.
> The current formula converts actually bytes to mebibits.
> The change needed for 3.0, 3.11 and 4.0(I am currently changing rate
> parameters to be in MiB/s for trunk as part of CASSANDRA-15234):
> {code:java}
> public static final double BYTES_PER_MEGABIT = (1000 * 1000) / 8; // from bits
> {code}
> CC [~adelapena]
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]