You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2023/12/16 23:57:00 UTC

[jira] [Created] (HDDS-9941) Do not use heap buffer in KeyValueContainerCheck.verifyChecksum

Tsz-wo Sze created HDDS-9941:
--------------------------------

             Summary: Do not use heap buffer in KeyValueContainerCheck.verifyChecksum
                 Key: HDDS-9941
                 URL: https://issues.apache.org/jira/browse/HDDS-9941
             Project: Apache Ozone
          Issue Type: Improvement
          Components: Ozone Datanode
            Reporter: Tsz-wo Sze


KeyValueContainerCheck.verifyChecksum(..) allocates a heap buffer for reading a chunk file.  It is better to use a direct buffer or memory mapped buffers.

We may also use the readData methods in ChunkUtils.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org