Swaminathan Balachandran created HDDS-14027:
-----------------------------------------------
Summary: Use codec buffers in defragmentation instead of byte
array to avoid GC memory issues because of Defragmentation
Key: HDDS-14027
URL: https://issues.apache.org/jira/browse/HDDS-14027
Project: Apache Ozone
Issue Type: Sub-task
Reporter: Swaminathan Balachandran
Assignee: Swaminathan Balachandran
Currently when using ByteArrayCodec the defrag internally creates a copy of the
buffer by allocating a new byte array for each and every key. This can be
avoided if we directly use CodecBuffer provided by the table. The patch creates
a new CodecBufferCodec for avoid unnecessary creation of objects. The patch
also adds sufficient amount of unit tests to test each function of the defrag
service
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]