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

Bharat Viswanadham resolved HDDS-4543.
--------------------------------------
    Fix Version/s: 1.1.0
       Resolution: Fixed

> Failed to list keys when there are two bucket names with same prefix
> --------------------------------------------------------------------
>
>                 Key: HDDS-4543
>                 URL: https://issues.apache.org/jira/browse/HDDS-4543
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Sammi Chen
>            Assignee: Sammi Chen
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.1.0
>
>
> For example,  we have bucket named "hadoop" and another bucket named 
> "hadoop-ozone".  It will return empty key list when we execute "sh key list 
> /s3v/hadoop" command. 
>  "hadoop-ozone" and "hadoop" share the same prefix "hadoop".  
> There is a bug in listKeys implementation which failes to append "/" to 
> seekKey when prefix is null.  Since "-" is ahead of "/" in order, so no key 
> is returned in the listKeys.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to