0lai0 commented on code in PR #9135:
URL: https://github.com/apache/ozone/pull/9135#discussion_r2588085379


##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/replication/ContainerHealthResult.java:
##########
@@ -402,4 +402,21 @@ public enum HealthState {
     OVER_REPLICATED,
     MIS_REPLICATED
   }
+
+  /**
+   * Enum representing replication status for containers.
+   * Used to indicate whether a container is under-replicated, over-replicated,
+   * or has healthy replication. This is specifically used for toString() 
output
+   * and display purposes.
+   */
+  public enum ReplicationStatus {
+    UNDER_REPLICATED,
+    OVER_REPLICATED,
+    HEALTHY_REPLICATION;
+
+    @Override
+    public String toString() {
+      return name();
+    }

Review Comment:
   Sure, I will remove this. Thanks



-- 
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]

Reply via email to