[
https://issues.apache.org/jira/browse/HDDS-14027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Swaminathan Balachandran resolved HDDS-14027.
---------------------------------------------
Fix Version/s: 2.2.0
Resolution: Fixed
> 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
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.2.0
>
>
> 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]