You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siyao Meng (Jira)" <ji...@apache.org> on 2020/01/30 01:00:01 UTC

[jira] [Updated] (HDDS-2957) listBuckets result excludes the exact match of the bucket prefix

     [ 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 excludes the exact match of the bucket prefix  (was: listBuckets result excludes exact match of given bucket prefix)

> listBuckets result excludes the exact match of the bucket prefix
> ----------------------------------------------------------------
>
>                 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.
> Please see my attached test case for this. - I know {{TestOzoneFileSystem}} won't be the best place for this unit test. Just to prove a point here.



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

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