sadanand48 opened a new pull request, #5182: URL: https://github.com/apache/ozone/pull/5182
## What changes were proposed in this pull request? The containers which are created in SCM and never got created on the datanodes (allocated block discarded by the client) and moved to CLOSING state during pipeline deletion and are marked as CLOSED by [HDDS-7882](https://issues.apache.org/jira/browse/HDDS-7882). When SCM is restarted before those containers are deleted, we end up having CLOSED (empty) containers in SCM but no corresponding replicas on any of the datanodes. This is causing the SCM to be stuck in safemode. This change modifies safe mode rule to exclude closed empty containers. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-9165 ## How was this patch tested? Unit 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]
