[ 
https://issues.apache.org/jira/browse/HDDS-12998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Siddhant Sangwan updated HDDS-12998:
------------------------------------
    Fix Version/s: 2.1.0

> 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
>             Fix For: 2.1.0
>
>
> 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:
>  * 
> [SendContainerRequest|https://github.com/apache/ozone/blob/dd79fa15f9471e8b5a2cf721c6d4c92c6a4192d3/hadoop-hdds/interface-client/src/main/proto/DatanodeClientProtocol.proto#L546-L552)]
>  * 
> [ReplicateContainerCommandProto|https://github.com/apache/ozone/blob/dd79fa15f9471e8b5a2cf721c6d4c92c6a4192d3/hadoop-hdds/interface-server/src/main/proto/ScmServerDatanodeHeartbeatProtocol.proto#L415-L422]
>  
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to