Gargi-jais11 commented on PR #8915: URL: https://github.com/apache/ozone/pull/8915#issuecomment-3279188506
> Any particular reason for sending the container's size from the SCM to the Datanode? It's simpler to just get the size from the Datanode's in-memory state. But I think how can we get size on Datanode side while choosing volume in the below place, so its better to send replicate size from SCM. Since in **chhoseNextVolume** we need to pass size in order to reserve space. https://github.com/apache/ozone/blob/554de4fa6c92871b13c2044f4d3dcef856958786/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/replication/DownloadAndImportReplicator.java#L77-L82 -- 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: issues-unsubscr...@ozone.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org