Uploaded image for project: 'Hadoop Distributed Data Store'
  1. Hadoop Distributed Data Store
  2. HDDS-1227

Avoid extra buffer copy during checksum computation in write Path

    XMLWordPrintableJSON

    Details

    • Target Version/s:
    • Sprint:
      HDDS Biscayne

      Description

      The code here does a buffer copy to to compute checksum. This needs to be avoided.

      /**
       * Computes checksum for give data.
       * @param byteString input data in the form of ByteString.
       * @return ChecksumData computed for input data.
       */
      public ChecksumData computeChecksum(ByteString byteString)
          throws OzoneChecksumException {
        return computeChecksum(byteString.toByteArray());
      }
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shashikant Shashikant Banerjee
                Reporter:
                shashikant Shashikant Banerjee
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: