[ 
https://issues.apache.org/jira/browse/HDDS-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz-wo Sze updated HDDS-2271:
-----------------------------
    Fix Version/s: 0.6.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

I have committed this.

> 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
>             Fix For: 0.6.0
>
>         Attachments: o2271_20191015.patch
>
>          Time Spent: 50m
>  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]

Reply via email to