[
https://issues.apache.org/jira/browse/HDDS-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze updated HDDS-2271:
-----------------------------
Status: Patch Available (was: Open)
> 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
> Labels: pull-request-available
> Attachments: o2271_20191015.patch
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> - 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]