Gargi-jais11 commented on code in PR #8915:
URL: https://github.com/apache/ozone/pull/8915#discussion_r2287114795


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/replication/ContainerImporter.java:
##########
@@ -76,7 +76,7 @@ public ContainerImporter(@Nonnull ConfigurationSource conf,
     this.controller = controller;
     this.volumeSet = volumeSet;
     this.volumeChoosingPolicy = volumeChoosingPolicy;
-    containerSize = (long) conf.getStorageSize(
+    defaultContainerSize = (long) conf.getStorageSize(

Review Comment:
   `chooseNextVolume`  to accept the container size is not possible as if you 
see below, then containerSize is coming from **downloadResult** but before that 
we need to choose a **targetVolume** that's why I was using this 
spaceAdjustment technique.
   
https://github.com/apache/ozone/blob/6b0bebce2dc171ce8575f07ec13bb4eab7768622/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/replication/DownloadAndImportReplicator.java#L78-L90
   
   Please share if you have more idea .



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