xBis7 opened a new pull request, #5651:
URL: https://github.com/apache/ozone/pull/5651
…containers
## What changes were proposed in this pull request?
Datanodes that are `DECOMMISSIONING`, `DECOMMISSIONED`,
`ENTERING_MAINTENANCE` or `IN_MAINTENANCE`, are considered out-of-service. SCM
doesn't count their replicas as healthy and available when checking for
under-replicated or over-replicated containers.
Recon should do the same and filter out-of-service nodes because
1. their replicas aren't actually available
2. it needs to be consistent with SCM
This patch modifies the `ContainerHealthStatus` constructor to achieve the
desired behavior.
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-9645
## How was this patch tested?
New unit tests were added. This patch was also tested manually. The steps
for manual testing can be found on the jira's description.
Green CI builds on my fork:
https://github.com/xBis7/ozone/actions/runs/6944974103
https://github.com/xBis7/ozone/actions/runs/6945013128
--
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]