[
https://issues.apache.org/jira/browse/HDDS-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16947443#comment-16947443
]
Tsz-wo Sze commented on HDDS-2271:
----------------------------------
> In handleGetSmallFile, it first reads chunk data to a byte[] and the copy
>them to a ByteString.
HDDS-2233 just have fixed it. Great!
> Avoid buffer copying in KeyValueHandler
> ---------------------------------------
>
> Key: HDDS-2271
> URL: https://issues.apache.org/jira/browse/HDDS-2271
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Reporter: Tsz-wo Sze
> Assignee: Tsz-wo Sze
> Priority: Major
>
> - In handleGetSmallFile, it first reads chunk data to a byte[] and the copy
> them to a ByteString.
> - In handlePutBlock/handleGetBlock, in order to get the length, it (1) builds
> a ContainerProtos.BlockData and then copies it to a byte[].
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]