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

Tsz-wo Sze updated HDDS-13052:
------------------------------
        Parent: HDDS-11693
    Issue Type: Sub-task  (was: Bug)

> ECContainerSafeModeRule may incorrectly use containerManager 
> -------------------------------------------------------------
>
>                 Key: HDDS-13052
>                 URL: https://issues.apache.org/jira/browse/HDDS-13052
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: SCM
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>
> ECContainerSafeModeRule has its own ecContainerDNsMap for keeping track of 
> replicas.   However, it uses containerManager.getContainerReplicas(id) in the 
> isMissing(..) method.
> - containerManager already have a map for container -> replicas, could we use 
> it and remove ecContainerDNsMap?
> - If not, it seems that we should use ecContainerDNsMap instead of 
> containerManager.getContainerReplicas(id).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to