Gargi-jais11 opened a new pull request, #9575:
URL: https://github.com/apache/ozone/pull/9575

   ## What changes were proposed in this pull request?
   The container choose and container actual move is two procedures. There is 
chance that container state is changed after container is selected, for 
example, container is moved to deleted state. So need to double check the 
container state again before acquire the container lock to start the move 
process. 
   
   Container should be moved only if they are in **CLOSED** or **QUASI_CLOSED** 
state.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-14279
   
   ## How was this patch tested?
   
   Added new unit test in `TestDiskBalancerTask`
   


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