Swaminathan Balachandran created HDDS-12491:
-----------------------------------------------
Summary: Snapshot diff should use direct byte buffers on
SSTFileReader and RawSstFileReader while fetching keys
Key: HDDS-12491
URL: https://issues.apache.org/jira/browse/HDDS-12491
Project: Apache Ozone
Issue Type: Sub-task
Reporter: Swaminathan Balachandran
Assignee: Swaminathan Balachandran
Currently SnapshotDiff creates a new byte array for each and every key read
from sstFileReaderIterator & RawSstFileIterator which would cause a lot of
unnecessary GC. We should use Direct ByteBuffer instead this wasn't done in the
V1 since we wanted to first stabilise the native lib and then look for
performance optimizations in this flow.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]