You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Sadanand Shenoy (Jira)" <ji...@apache.org> on 2021/02/27 07:21:00 UTC

[jira] [Created] (HDDS-4875) getKey() must return a key when a key with trailing slash is passed

Sadanand Shenoy created HDDS-4875:
-------------------------------------

             Summary: getKey() must return a key when a key with trailing slash is passed 
                 Key: HDDS-4875
                 URL: https://issues.apache.org/jira/browse/HDDS-4875
             Project: Apache Ozone
          Issue Type: Bug
          Components: Ozone Manager
            Reporter: Sadanand Shenoy


lets assume -> Key created : a/b/c/key1 when enabledFsPaths=true

bucket.getKey(a/b/c/) ,bucket.getKey(a/b/) must return a key instead of returning KEY_NOT_FOUND because this key exists in KeyTable . While normalising the key ,trailing slash isn't preserved currently. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org