ozone
ozone copied to clipboard
HDDS-11083. Avoid duplicate creation of RunningDatanodeState
What changes were proposed in this pull request?
When DN is running, the RunningDatanodeState is created every time the heartbeat is sent to the SCM. This operation is very frequent and should be reused as much as possible.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-11083
How was this patch tested?
Make sure that your unit tests pass.