[
https://issues.apache.org/jira/browse/HDDS-11083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze resolved HDDS-11083.
-------------------------------
Fix Version/s: 1.5.0
Resolution: Fixed
The pull request is now merged. Thanks, [~jianghuazhu]!
> 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
> Assignee: JiangHua Zhu
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.5.0
>
> Attachments: screenshot-1.png, screenshot-2.png
>
>
> 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.
> !screenshot-1.png!
> !screenshot-2.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]