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

Tsz-wo Sze commented on HDDS-2204:
----------------------------------

o2204_20190930b.patch: compute checksum from a ByteBuffer.

Will add some tests.

> Avoid buffer coping in checksum verification
> --------------------------------------------
>
>                 Key: HDDS-2204
>                 URL: https://issues.apache.org/jira/browse/HDDS-2204
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>          Components: Ozone Client
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>         Attachments: o2204_20190930.patch, o2204_20190930b.patch
>
>
> In Checksum.verifyChecksum(ByteString, ..), it first converts the ByteString 
> to a byte array.  It lead to an unnecessary buffer coping.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to