[
https://issues.apache.org/jira/browse/HDDS-3815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dinesh Chitlangia resolved HDDS-3815.
-------------------------------------
Fix Version/s: 0.6.0
Resolution: Fixed
> Avoid buffer copy in ContainerCommandRequestProto
> -------------------------------------------------
>
> Key: HDDS-3815
> URL: https://issues.apache.org/jira/browse/HDDS-3815
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: Ozone Datanode
> Affects Versions: 0.6.0
> Reporter: Mukul Kumar Singh
> Assignee: Mukul Kumar Singh
> Priority: Major
> Labels: performance, pull-request-available
> Fix For: 0.6.0
>
> Attachments: fstree-DN1-102400Files-10Bytes-003.svg
>
>
> Avoid buffer copy because of
> {code}
> final int i = 4 + bytes.asReadOnlyByteBuffer().getInt();
> {code}
> bytes.asReadOnlyByteBuffer() causes the entire buffer to be copied.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]