noobaa-core icon indicating copy to clipboard operation
noobaa-core copied to clipboard

NSFS should support pagination for list-multipart-uploads

Open guymguym opened this issue 9 months ago • 3 comments

Environment info

  • NooBaa Version: 5.16
  • Platform: NA

Actual behavior

  1. This is a technical gap left from #7987

Expected behavior

  1. Support pagination for listing multipart uploads when list length is above the requested MaxUploads (typically 1000).
  2. Page markers is a combination of KeyMarker and UploadIdMarker.

Steps to reproduce

  1. Initiate N multipart uploads but do not complete them.
  2. Request to list-multipart-uploads with MaxUploads < N.
  3. Verify that the response has IsTruncated: true and that KeyMarker and UploadIdMarker are set.
  4. Use the markers for the next list request and verify that the next set of items is returned.

guymguym avatar May 07 '24 06:05 guymguym