You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/06/01 03:14:00 UTC
[jira] [Updated] (HDDS-8741) Use adjustable capacity CodecBuffer to get from DB
[ https://issues.apache.org/jira/browse/HDDS-8741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HDDS-8741:
---------------------------------
Labels: pull-request-available (was: )
> 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
>
> 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org