You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ivan Andika (Jira)" <ji...@apache.org> on 2023/12/18 04:43:00 UTC

[jira] [Created] (HDDS-9946) Move pathComponents calculation to OMFileRequest#getParentID

Ivan Andika created HDDS-9946:
---------------------------------

             Summary: Move pathComponents calculation to OMFileRequest#getParentID
                 Key: HDDS-9946
                 URL: https://issues.apache.org/jira/browse/HDDS-9946
             Project: Apache Ozone
          Issue Type: Sub-task
          Components: OM
         Environment: From https://github.com/apache/ozone/pull/5753#discussion_r1424861368

We can remove this {{pathComponents}} argument from the {{OMFileRequest#getParentID}} method and instead call the {{Iterator<Path> pathComponents = Paths.get(keyName).iterator()}} inside the {{OMFileRequest#getParentID}} instead.

This will remove duplication of FSO path components calculation.
            Reporter: Ivan Andika
            Assignee: TaiJuWu






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