[ 
https://issues.apache.org/jira/browse/HDDS-17557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Attila Doroszlai updated HDDS-17557:
------------------------------------
    Description: 
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:*
- Rename ContainerHealthState to SimplifiedContainerHealthStateForReporting for 
clarity
- 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.
cc: [~szetszwo]

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


> Rename ContainerHealthState to SimplifiedContainerHealthStateForReporting for 
> clarity
> -------------------------------------------------------------------------------------
>
>                 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
>            Assignee: Devesh Kumar Singh
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.3.0
>
>
> 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:*
> - Rename ContainerHealthState to SimplifiedContainerHealthStateForReporting 
> for clarity
> - 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.
> 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