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

   ## What changes were proposed in this pull request?
   
   If a container is deleted on a datanode, then the deleted state is reported 
via an Incremental Container Report. This ICR processing will remove the 
deleted replica from the ContainerManager replica map, but it does not remove 
it from the NodeManager which has a mapping of all containers on a datanode.
   
   This can result in problems with decommissioning, where SCM thinks a node 
has a replica, but then ContainerManager reports no replicas.
   
   Most likely the issue would resolve itself when the next FCR is issued, as 
it will handle updating NodeManager for any containers which are present there 
but not in the full report.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-7859
   
   ## How was this patch tested?
   
   Modified a unit test to reproduce it and then fixed the issue.
   


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