noobaa-core
noobaa-core copied to clipboard
NSFS should support pagination for list-multipart-uploads
Environment info
- NooBaa Version: 5.16
- Platform: NA
Actual behavior
- This is a technical gap left from #7987
Expected behavior
- Support pagination for listing multipart uploads when list length is above the requested MaxUploads (typically 1000).
- Page markers is a combination of KeyMarker and UploadIdMarker.
Steps to reproduce
- Initiate N multipart uploads but do not complete them.
- Request to list-multipart-uploads with MaxUploads < N.
- Verify that the response has IsTruncated: true and that KeyMarker and UploadIdMarker are set.
- Use the markers for the next list request and verify that the next set of items is returned.