[
https://issues.apache.org/jira/browse/HDDS-13290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18016449#comment-18016449
]
Ivan Andika commented on HDDS-13290:
------------------------------------
Hi [~peterxcli] , any update on this? I'd like to get this fix in to 2.1.0 if
possible.
> Correct the pagination logic of listMultipartUploads
> ----------------------------------------------------
>
> Key: HDDS-13290
> URL: https://issues.apache.org/jira/browse/HDDS-13290
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: s3gateway
> Reporter: Chu Cheng Li
> Assignee: Chu Cheng Li
> Priority: Major
>
> The spec says:
> > For general purpose buckets, {{key-marker}} is an object key. Together with
> >{{{}upload-id-marker{}}}, this parameter specifies the multipart upload
> >after which listing should begin.
> > If {{upload-id-marker}} is not specified, only the keys lexicographically
> > greater than the specified {{key-marker}} will be included in the list.
> > If {{upload-id-marker}} is specified, any multipart uploads for a key equal
> > to the {{key-marker}} might also be included, provided those multipart
> > uploads have upload IDs lexicographically greater than the specified
> > {{{}upload-id-marker{}}}.
> But the current approach would be:
> > ...
> > If {{upload-id-marker}} is not specified, only the keys lexicographically
> > greater than *or equal to* the specified {{key-marker}} will be included in
> > the list.
> > ...
>
>
> Also the nextKeyMarker and nextUploadId should be the last element of the
> return list, too.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]