JiangHua Zhu created HDDS-11083:
-----------------------------------

             Summary: Avoid duplicate creation of RunningDatanodeState
                 Key: HDDS-11083
                 URL: https://issues.apache.org/jira/browse/HDDS-11083
             Project: Apache Ozone
          Issue Type: Improvement
          Components: DN
    Affects Versions: 1.4.0
            Reporter: JiangHua Zhu


In DN, it is a regular operation to send heartbeats to SCM/Recon.
When DatanodeStates=RUNNING, some objects are repeatedly created every time a 
heartbeat occurs: RunningDatanodeState, VersionEndpointTask, 
RegisterEndpointTask, HeartbeatEndpointTask. If these objects are created every 
time, additional resources will be consumed. The best way is to reuse them once 
they are created successfully.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to