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 2025/08/07 08:23:00 UTC
[jira] [Updated] (HDDS-12998) Bring real container size in pb message when exporting/importing containers
[ https://issues.apache.org/jira/browse/HDDS-12998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HDDS-12998:
----------------------------------
Labels: pull-request-available (was: )
> Bring real container size in pb message when exporting/importing containers
> ---------------------------------------------------------------------------
>
> Key: HDDS-12998
> URL: https://issues.apache.org/jira/browse/HDDS-12998
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: Ozone Datanode
> Reporter: Chu Cheng Li
> Assignee: Gargi Jaiswal
> Priority: Major
> Labels: pull-request-available
>
> Generally, the tar zip file of container will have smaller size than it's real size, so reserve a 2* max container size is conservative enough in most cases. But there are container over-allocated case, where container size can be double or triple the max container size as [@siddhantsangwan|https://github.com/siddhantsangwan] saw in user's environment, have a accurate container size can handle this case welly, and that info could be brought in [proto message|https://github.com/apache/ozone/blob/f52069b7aa757d39e4819bae7d06b12955660576/hadoop-hdds/interface-client/src/main/proto/DatanodeClientProtocol.proto#L529-L545].
>
> For backward compatibility, if that field unset, fallback to get the container size from config.
>
> comments:
> * [https://github.com/apache/ozone/pull/8360#issuecomment-2850023149]
> * [https://github.com/apache/ozone/pull/8360#issuecomment-2857154196]
> * [https://github.com/apache/ozone/pull/8360#issuecomment-2857213750]
>
--
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