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

   ## What changes were proposed in this pull request?
   
   In ECContainerReplicaCount, we intentionally ignore UNHEALTHY replicas so 
that when we check for over or under replication, it is if the replicas are not 
there.
   
   However if there is a pending delete for an unhealthy replica, due to 
ignoring the unhealthy replicas, the pending delete decrements the healthy 
count and makes the container appear under replicated when it is not.
   
   When processing pending deletes, we need also ignore any that are removing 
the ignored unhealthy replicas.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-7729
   
   ## How was this patch tested?
   
   Unit test added to reproduce the issue and confirm it is fixed after the fix.
   


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