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

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

Mukul Kumar Singh created HDDS-3815:
---------------------------------------

             Summary: 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
         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