sodonnel opened a new pull request, #4644: URL: https://github.com/apache/ozone/pull/4644
## What changes were proposed in this pull request? ContainerReplicaPendingOps contains a record of all the pending replications which are waiting to complete across the cluster. When SCM steps down as a leader, and a new one takes over, the pending commands on the datanodes are dropped as they check the leader term before they are processed. This means the contents of ContainerReplicaPendingOps is not needed if the SCM fails back to the original node. Therefore, if the SCM becomes active again, we should clear the pending ops when RM is transitioning to the RUNNING state. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-8473 ## How was this patch tested? New unit tests added. -- 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]
