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 2026/02/19 05:12:00 UTC

[jira] [Updated] (HDDS-13444) Unify isValidKeyPath implementation

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

Ivan Andika updated HDDS-13444:
-------------------------------
    Fix Version/s: 2.2.0
       Resolution: Implemented
           Status: Resolved  (was: Patch Available)

> Unify isValidKeyPath implementation
> -----------------------------------
>
>                 Key: HDDS-13444
>                 URL: https://issues.apache.org/jira/browse/HDDS-13444
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Ivan Andika
>            Assignee: Huang Kuan Hao
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.2.0
>
>
> Most of the logic on OzoneFSUtils#isValidKeyPath and OMClientRequest#isValidKeyPath are duplicated with the difference being whether to throw exception if the keyName is empty. We can remove duplication of this important logic.
> See: https://github.com/apache/ozone/pull/8681/files#r2187540514



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