Tsz-wo Sze created HDDS-17979:
---------------------------------
Summary: NetworkTopologyImpl should assert the costs in schemaFile
and clusterTree
Key: HDDS-17979
URL: https://issues.apache.org/jira/browse/HDDS-17979
Project: Apache Ozone
Issue Type: Improvement
Components: SCM
Reporter: Tsz-wo Sze
Assignee: Tsz-wo Sze
When reviewing HDDS-17555., Claude pointed out that the linked path uses
InnerNode.getCost() (which may come from SCM's proto, InnerNodeImpl line ~508).
The location path uses the local schemaManager.getCost(level). If OM's and
SCM's schema costs ever differ, a mixed linked/unlinked list could sort
inconsistently. We should assert the costs are the same.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]