Devesh Kumar Singh created HDDS-17557:
-----------------------------------------

             Summary: Remove unused numeric short byte for container health 
from SCM container health states
                 Key: HDDS-17557
                 URL: https://issues.apache.org/jira/browse/HDDS-17557
             Project: Apache Ozone
          Issue Type: Task
          Components: Ozone CLI, Ozone Datanode
            Reporter: Devesh Kumar Singh


Following the review of HDDS-14119 (PR 
[#9472|https://github.com/apache/ozone/pull/9472]), remove the numeric 
container info code left over from the earlier short-based health-state 
implementation.

ContainerInfo stores a ContainerHealthState enum reference. The enum’s numeric 
values and conversion machinery are not used by production health-assessment or 
reporting paths.

*Scope:*
- Remove the numeric field, lookup map, numeric getter, and fromValue() 
conversion.
- Remove tests that only verify numeric assignments and conversions.
- Correct outdated comments describing short-based storage or memory savings.
- Preserve enum names, metric names, report categories, and health-assessment 
behavior.
- Validate the remaining enum, report, and relevant RM tests.

This cleanup does not redesign health-state semantics or rename the enum.
cc: [~szetszwo]



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to