[ 
https://issues.apache.org/jira/browse/HDDS-17979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz-wo Sze reassigned HDDS-17979:
---------------------------------

    Component/s: OM
                     (was: SCM)
       Assignee:     (was: Tsz-wo Sze)
    Description: 
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?

  was: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.

        Summary: OM's and SCM's schema costs may differ  (was: 
NetworkTopologyImpl should assert the costs in schemaFile and clusterTree)

> 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]

Reply via email to