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

Siyao Meng updated HDDS-2957:
-----------------------------
    Summary: listBuckets result should include the exact match of bucketPrefix  
(was: listBuckets result excludes the exact match of bucketPrefix)

> listBuckets result should include the exact match of bucketPrefix
> -----------------------------------------------------------------
>
>                 Key: HDDS-2957
>                 URL: https://issues.apache.org/jira/browse/HDDS-2957
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Siyao Meng
>            Assignee: Siyao Meng
>            Priority: Major
>         Attachments: HDDS-2957.test.patch
>
>
> {{OzoneVolume.listBuckets(String bucketPrefix)}} behaves differently than 
> {{ObjectStore.listVolumes(String volumePrefix)}} in terms of given prefix. In 
> short, {{listBuckets}} ignores the {{bucketPrefix}} in the result if it is an 
> *exact* match, while {{listVolumes}} doesn't.
> e.g. If we have a bucket named {{bucket-12345}}, currently 
> {{OzoneVolume.listBuckets("bucket-12345")}} will NOT return {{bucket-12345}} 
> in its result.
> Please see my attached test case for this. - I will move the test from 
> {{TestOzoneFileSystem}} to a proper place ({{TestOzoneRpcClientAbstract}}, 
> probably) in the PR.



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

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

Reply via email to