Tsz-wo Sze created HDDS-12717:
---------------------------------

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


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: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to