szetszwo opened a new pull request, #8036:
URL: https://github.com/apache/ozone/pull/8036

   ## What changes were proposed in this pull request?
   
   ```java
   //ContainerStateMap
     private final ContainerAttribute<LifeCycleState> lifeCycleStateMap;
     private final ContainerAttribute<String> ownerMap;
     private final ContainerAttribute<ReplicationConfig> repConfigMap;
     private final ContainerAttribute<ReplicationType> typeMap;
   ```
   ContainerStateMap has four ContainerAttribute maps above. However, the 
ownerMap and the repConfigMap are unused. If these two maps are removed, the 
ContainerAttribute generic type T can be restricted to Enum for simplicity and 
efficiency.
   
   ## What is the link to the Apache JIRA
   
   HDDS-12532
   
   ## How was this patch tested?
   
   Updating existing tests.


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