rustfs icon indicating copy to clipboard operation
rustfs copied to clipboard

`ListMultipartUploads` doesn't include non-finished uploads

Open nikeee opened this issue 1 month ago • 4 comments

Describe the bug When starting a multipart upload with CreateMultipartUpload and calling ListMultipartUploads right after it, the upload list doesn't seem contain the started upload.

Repro

  1. CreateMultipartUpload with any key
  2. ListMultipartUploads

Expected behavior The uploads should contain the upload started right before.

AWS docs: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html

This operation lists in-progress multipart uploads in a bucket. An in-progress multipart upload is a multipart upload that has been initiated by the CreateMultipartUpload request, but has not yet been completed or aborted.

nikeee avatar Nov 02 '25 17:11 nikeee

Yes, it looks like there's still a bug here. It was tried to fix it before, but apparently the fix wasn't successful.

https://github.com/rustfs/rustfs/issues/155

loverustfs avatar Nov 03 '25 12:11 loverustfs

After we've dealt with the few bugs in front of us, we'll fix this one.

loverustfs avatar Nov 03 '25 14:11 loverustfs

Hi @nikeee , I'm so sorry. Currently, we still need to wait some time before this issue can be processed.

loverustfs avatar Nov 05 '25 09:11 loverustfs

Hi @nikeee ,

We've benchmarked this behavior against MinIO and here's what we found:

Our implementation works as expected when the full bucket/object path is specified; we correctly return the data.

MinIO appears to leverage caching. If a request provides only the bucket name (with no object key), it returns a list of all incomplete multipart uploads within that bucket.

To help us narrow this down, could you try running your test again, but this time specifying the full object key in your query?

If the issue persists, could you please provide a code snippet that reproduces the behavior you're observing? That would help us investigate further.

loverustfs avatar Nov 14 '25 05:11 loverustfs

Hi @nikeee ,

This bug has been fixed. https://github.com/rustfs/rustfs/pull/979

We await the next version release, expected next Wednesday or Thursday.

loverustfs avatar Dec 04 '25 08:12 loverustfs

Other users' test feedback has fixed this bug, and we will close this issue.

If you need to leave a message again, we'll reopen it.

https://github.com/rustfs/rustfs/issues/815#issuecomment-3610936146

loverustfs avatar Dec 04 '25 12:12 loverustfs