avijayanhwx commented on a change in pull request #2874:
URL: https://github.com/apache/ozone/pull/2874#discussion_r761334629
##########
File path:
hadoop-ozone/recon-codegen/src/main/java/org/hadoop/ozone/recon/schema/ContainerSchemaDefinition.java
##########
@@ -49,7 +49,8 @@
MISSING,
UNDER_REPLICATED,
OVER_REPLICATED,
- MIS_REPLICATED
+ MIS_REPLICATED,
Review comment:
I wanted to introduce a new query state that has Recon return containers
that have all replicas as UNH, as opposed to the more generic
'UNDER_REPLICATED' state that typically denotes a transient state. I have
modified the enum field to reflect it better. This can be queried as follows
/containers/unhealthy/UNDER_REPLICATED
/containers/unhealthy/ALL_REPLICAS_UNHEALTHY
/containers/unhealthy --> will return containers in any bad state.
--
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]