ashishkumar50 commented on code in PR #8080:
URL: https://github.com/apache/ozone/pull/8080#discussion_r2000277439


##########
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/HddsUtils.java:
##########
@@ -724,6 +724,11 @@ public static boolean 
shouldNotFailoverOnRpcException(Throwable exception) {
     return exception instanceof InvalidProtocolBufferException;
   }
 
+  public static long requiredReplicationSpace(long defaultContainerSize) {
+    // During container import it requires double the container size to hold 
container in tmp and dest directory
+    return 2 * defaultContainerSize;
+  }
+

Review Comment:
   Moved to `HddsServerUtil`.



-- 
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]

Reply via email to