You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2025/03/28 01:44:00 UTC

[jira] [Created] (HDDS-12717) Combine nodeMap and nodeToContainer in NodeStateMap

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