peterxcli commented on code in PR #8915:
URL: https://github.com/apache/ozone/pull/8915#discussion_r2335773059
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/replication/DownloadAndImportReplicator.java:
##########
@@ -71,9 +71,20 @@ public void replicate(ReplicationTask task) {
LOG.info("Starting replication of container {} from {} using {}",
containerID, sourceDatanodes, compression);
HddsVolume targetVolume = null;
+
+ // Use replicate size from command if available, otherwise use default
+ long spaceReserved = 0;
+ Long replicateSize = task.getReplicateSize();
+ if (replicateSize != null) {
Review Comment:
Yeah, let's keep it as is. Thanks!
But I saw you have
<img width="1097" height="86" alt="image"
src="https://github.com/user-attachments/assets/5c7dcbab-91db-4a04-8d3c-740879cb061d"
/>
above changes in `DownloadAndImportReplicator.java`
So I'm not sure if you want to handle that case or not. Or maybe that change
has another purpose? If so, please correct me. Thx!
--
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]