sadanand48 commented on PR #10022:
URL: https://github.com/apache/ozone/pull/10022#issuecomment-4212370132

   > I can't find any documented reason why quasi-closed containers should be 
excluded from either process.
   
   Same here, Theoretically I think we could skip excluding quasi-closed 
containers however my guess based on some discussions is that we didn't want 
cases where same container is acted upon by both balancer and RM, Say balancer 
schedules a  move for a quasi-closed container and RM sends a command to close 
the container at the same time.
   
   While balancer moves the QC container, If we don't do the bcsId check it can 
increase the containers  that have lower bcsId by the balancer selecting it and 
delete not processing in the system. Still should not be a major issue. I think 
we just wanted to play safe by only moving immutable container state. If we 
have tested these scenarios I believe we can include these in the default 
criteria
   
   The origin  of the check is in 
https://github.com/apache/ozone/pull/2441/changes#diff-b0ac1e8086a1da3247489a1a6ad742996052aa17a46544f1f6aaf24bfd92a762R76-R82
   
   @siddhantsangwan please correct me if I am wrong


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