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

[jira] [Created] (HDDS-9825) ListKeys Iterator doesn't terminate when prefix contains "/" at the end

Ashish Kumar created HDDS-9825:
----------------------------------

             Summary: ListKeys Iterator doesn't terminate when prefix contains "/" at the end
                 Key: HDDS-9825
                 URL: https://issues.apache.org/jira/browse/HDDS-9825
             Project: Apache Ozone
          Issue Type: Bug
            Reporter: Ashish Kumar
            Assignee: Ashish Kumar


listKeys iterator doesn't terminate when prefix contains "/" at the end of keyName.

If we have a FSO key like vol1/bucket1/dir1/key1

And we do listKeys by passing prefix as dir1/key1/

In this case the iterator never terminates and keeps returning the same keyName.



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