You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Dinesh Chitlangia (Jira)" <ji...@apache.org> on 2020/06/23 02:48:00 UTC

[jira] [Resolved] (HDDS-3815) Avoid buffer copy in ContainerCommandRequestProto

     [ 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: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org