[ 
https://issues.apache.org/jira/browse/HDDS-17979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18154393#comment-18154393
 ] 

Tsz-wo Sze commented on HDDS-17979:
-----------------------------------

Why does OM need to load the schema?  It is better to just receive the 
information from SCM.  Would it be possible?

> 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