Gargi-jais11 opened a new pull request, #8915: URL: https://github.com/apache/ozone/pull/8915
## What changes were proposed in this pull request? 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 ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-12998 ## How was this patch tested? Updated existing UT. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
