F64116045 commented on PR #12048: URL: https://github.com/apache/ozone/pull/12048#issuecomment-6983907609
Thanks @sodonnel. I agree callers shouldn't need to list every combined state to check under-replication. > This change just compounds the problems introduced by HDDS-17225 and really it should be fixed at source. I think you meant [HDDS-14119](https://issues.apache.org/jira/browse/HDDS-14119), which introduced the combined states. If we only change the report, a container marked `UNHEALTHY_UNDER_REPLICATED` would count towards `UNDER_REPLICATED`, but filtering by `UNDER_REPLICATED` would still exclude it. We'd also need to decide whether the filter should include these combined states. I also found [HDDS-17556](https://issues.apache.org/jira/browse/HDDS-17556). If nobody is already working on it, I'd like to open a subtask to separate replication status from the other health conditions first, and use that to fix decommissioning. Would appreciate your thoughts on this. -- 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]
