Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-17243

Fix BYTES_PER_MEGABIT in StreamManager

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              adelapena Andres de la Peña
              e.dimitrova Ekaterina Dimitrova
              Andres de la Peña
              Berenguer Blasi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m