[
https://issues.apache.org/jira/browse/HDDS-2274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17642910#comment-17642910
]
Tsz-wo Sze commented on HDDS-2274:
----------------------------------
[~adoroszlai], The current RocksDB version used in Ozone supports ByteBuffer
API. So this JIRA becomes possible now.
> Avoid buffer copying in Codec
> -----------------------------
>
> Key: HDDS-2274
> URL: https://issues.apache.org/jira/browse/HDDS-2274
> Project: Apache Ozone
> Issue Type: Improvement
> Reporter: Tsz-wo Sze
> Assignee: Tsz-wo Sze
> Priority: Major
>
> Codec declares byte[] as a parameter in fromPersistedFormat(..) and a return
> type in toPersistedFormat(..). It leads to buffer copying when using it with
> ByteString.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]