[
https://issues.apache.org/jira/browse/HDDS-13052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze reassigned HDDS-13052:
---------------------------------
Assignee: (was: Tsz-wo Sze)
> 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
> 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: [email protected]
For additional commands, e-mail: [email protected]