siddhantsangwan opened a new pull request, #4415:
URL: https://github.com/apache/ozone/pull/4415

   ## What changes were proposed in this pull request?
   
   MoveManager currently has a hardcoded deadline of 60 minutes. We should make 
this configurable, and that configuration should be present in 
ContainerBalancerConfiguration.
   Move is replication + deletion. Replication involves copying between two 
datanodes so it's generally more expensive than deletion. So we probably need 
to have an additional configuration for deciding how much time out of the total 
move deadline is allowed for replication. The rest will be allowed for 
deletion. Move deadline's configuration is 
"hdds.container.balancer.move.timeout".
   
   Changes introduced:
   1. Added a new configuration 
"hdds.container.balancer.move.replication.timeout". Made MoveManager use this 
configuration.
   2. Added validations for this configuration in ContainerBalancer.
   3. Added this configuration to ContainerBalancerConfigurationProto.
   4. Other small changes.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-8168
   
   ## How was this patch tested?
   Added unit tests


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