[
https://issues.apache.org/jira/browse/HDDS-17875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18150908#comment-18150908
]
Andy Huang commented on HDDS-17875:
-----------------------------------
The fix for this issue is included in the patch for HDDS-17874:
https://github.com/apache/ozone/pull/12167
The patch also addresses the repeated CommonPrefixes and pagination issue
described here. I'll keep this issue open until the PR is merged.
> ListObjectsV2 keeps returning the same common prefix and never reaches later
> keys
> ---------------------------------------------------------------------------------
>
> Key: HDDS-17875
> URL: https://issues.apache.org/jira/browse/HDDS-17875
> Project: Apache Ozone
> Issue Type: Bug
> Reporter: Chung-En Lee
> Assignee: Andy Huang
> Priority: Major
>
> Steps to reproduce:
> # Create an OBS bucket with keys {{-x}}, {{a-b/x}}, {{a.txt}}, {{a/b/c}},
> {{a/c}}, {{a0}}, {{b}}, {{dir/}}, {{dir/x}}, {{z/1}}.
> # ListObjectsV2 with {{Prefix=a}}, {{Delimiter=/}}, {{MaxKeys=1}}, following
> NextContinuationToken.
> Actual: after {{a-b/}} and {{a.txt}}, every page returns CommonPrefix {{a/}}
> with IsTruncated=true, and {{a0}} is never returned. With {{MaxKeys=3}},
> {{a/}} is returned twice.
> Expected: CommonPrefixes {{a-b/}} and {{a/}}, and Contents {{a.txt}} and
> {{a0}}, each returned once, as on AWS S3.
> ListObjects (V1) with the same parameters returns the expected result.
> HDDS-17028 fixed repeated CommonPrefixes for V1 and ListObjectVersions.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]