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

ASF GitHub Bot updated HDDS-13290:
----------------------------------
    Labels: pull-request-available  (was: )

> 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
>              Labels: pull-request-available
>
> 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]

Reply via email to