[
https://issues.apache.org/jira/browse/HDDS-12717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-12717:
----------------------------------
Labels: pull-request-available (was: )
> Combine nodeMap and nodeToContainer in NodeStateMap
> ---------------------------------------------------
>
> Key: HDDS-12717
> URL: https://issues.apache.org/jira/browse/HDDS-12717
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: SCM
> Reporter: Tsz-wo Sze
> Assignee: Tsz-wo Sze
> Priority: Major
> Labels: pull-request-available
>
> Both nodeMap and nodeToContainer have DatanodeID as keys. They should be
> combined into a single map to avoid an additional map operation.
> For example, adding a new datanode currently need two put operations. If
> there is only one map, it will only need one operation.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]