You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2026/10/03 12:29:00 UTC
[jira] [Resolved] (HDDS-14018) Avoid repeated operations in SCMNodeManager#getNodeStatistics
[ https://issues.apache.org/jira/browse/HDDS-14018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Attila Doroszlai resolved HDDS-14018.
-------------------------------------
Fix Version/s: 2.3.0
Resolution: Implemented
> Avoid repeated operations in SCMNodeManager#getNodeStatistics
> -------------------------------------------------------------
>
> Key: HDDS-14018
> URL: https://issues.apache.org/jira/browse/HDDS-14018
> Project: Apache Ozone
> Issue Type: Improvement
> Components: SCM
> Reporter: Attila Doroszlai
> Assignee: Sarveksha Yeshavantha Raju
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.3.0
>
>
> Possible improvements for {{SCMNodeManager#getNodeStatistics}}:
> - avoid repeated {{getAllNodes()}} calls, store and reuse the list
> - avoid repeated iteration of nodes for {{nodeStateStatistics}} (by each {{get...NodeCount()}} method)
> - {{nodeUsageStatistics}} may base its calculations on values aggregated by {{nodeSpaceStatistics}} instead of iterating storage reports itself
--
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