Swaminathan Balachandran created HDDS-14237:
-----------------------------------------------
Summary: Simplify ManagedDirectSlice to use ByteBuffers
Key: HDDS-14237
URL: https://issues.apache.org/jira/browse/HDDS-14237
Project: Apache Ozone
Issue Type: Improvement
Reporter: Swaminathan Balachandran
Assignee: Swaminathan Balachandran
As per rocksdb DirectSlices are supposed to expose the direct buffers to
interact with rocksdb. The only problem with directSlices when working with
external byte buffers it doesn't understand offset and limit of the ByteBuffer.
Hence to make it safe to work just creating a constructor for
ManagedDirectSlice fixing the offset and length of the underlying directSlice
instance should be good.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]