Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
3.0.26, 3.11.12, 4.0.2, 4.1-alpha1, 4.1
-
None
-
Correctness
-
Normal
-
Low Hanging Fruit
-
User Report
-
All
-
None
-
Description
While working on CASSANDRA-15234 I noticed BYTES_PER_MEGABIT constant in the
StreamManager
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):
public static final double BYTES_PER_MEGABIT = (1000 * 1000) / 8; // from bits
CC adelapena
Attachments
Issue Links
- relates to
-
CASSANDRA-15234 Standardise config and JVM parameters
- Resolved