[ 
https://issues.apache.org/jira/browse/CASSANDRA-17243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17482057#comment-17482057
 ] 

Andres de la Peña commented on CASSANDRA-17243:
-----------------------------------------------

Here is a final round of CI after rebasing:
||PR||CI||
|[3.0|https://github.com/apache/cassandra/pull/1399]  
|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/1256/workflows/238c6f34-a350-415a-93ac-2de03b61f570]|
|[3.11|https://github.com/apache/cassandra/pull/1400] 
|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/1255/workflows/067ad4ae-15fd-4d52-bd65-45774efe9efc]|
|[4.0|https://github.com/apache/cassandra/pull/1401]  
|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/1254/workflows/3f91621d-2ea7-4b7b-810e-ed61b72f31b8]
 
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/1254/workflows/f23e4f2b-cb61-4695-8b34-991a84172d45]|
|[trunk|https://github.com/apache/cassandra/pull/1402]|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/1257/workflows/e5000431-6b46-496d-bf4d-fe1a8d3aa46f]
 
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/1257/workflows/d70468a4-ec0f-45c8-873b-d5891df6784c]|

> 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]

Reply via email to