[
https://issues.apache.org/jira/browse/HDDS-17979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18154500#comment-18154500
]
Aleksei Ieshin edited comment on HDDS-17979 at 12/3/26, 9:29 AM:
-----------------------------------------------------------------
Ah ok, so:
1. OM starts and gets the tree from SCM
2. If tree has datanodes then depth and costs come from the tree, if no then OM
reads it from network-topology-default.xml
3. Every new refresh of the tree repeats step 2.
was (Author: JIRAUSER311863):
Ah ok, so:
1. OM starts and gets the tree from SCM (or from network-topology-default.xml?)
2. If tree has datanodes then depth and costs come from the tree, if no then OM
reads it from network-topology-default.xml
3. Every new refresh of the tree repeats step 2.
> OM's and SCM's schema costs may differ
> --------------------------------------
>
> Key: HDDS-17979
> URL: https://issues.apache.org/jira/browse/HDDS-17979
> Project: Apache Ozone
> Issue Type: Improvement
> Components: OM
> Reporter: Tsz-wo Sze
> Priority: Major
>
> 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.
> What should we do for such case?
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]