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

   ## What changes were proposed in this pull request?
   
   Created a handler for empty containers. This mostly contains the same logic 
as the legacy RM for checking if a container is closed and empty, deleting its 
replicas, and moving it to DELETING state. Also introduced a new method in RM 
for sending a delete command to a DN and adding it to 
`ContainerReplicaPendingOps`. 
   
   We should not add this handler to the chain of handlers in RM until the 
DELETING container handler has been added. This is because the DELETING 
container handler will take care of resending delete commands to replicas of a 
DELETING container.
   
   I'm opening a PR to get some reviews while I add tests.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-6893
   
   ## How was this patch tested?
   
   Yet to test.


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