[
https://issues.apache.org/jira/browse/HDDS-8741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai resolved HDDS-8741.
------------------------------------
Fix Version/s: 1.4.0
Resolution: Implemented
> Use adjustable capacity CodecBuffer to get from DB
> --------------------------------------------------
>
> Key: HDDS-8741
> URL: https://issues.apache.org/jira/browse/HDDS-8741
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: db
> Reporter: Tsz-wo Sze
> Assignee: Tsz-wo Sze
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.4.0
>
>
> When getting a value from DB, the value size is unknown when allocating a
> buffer. Currently, we set the exact capacity in buffer allocation and, if
> the capacity is too small, reallocate a new buffer. We should use an
> adjustable buffer and try to adjust the capacity if it is too small.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]