Skip to content

Tweak multipart uploads #19756

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 17, 2024
Merged

Conversation

klauspost
Copy link
Contributor

Description

Fix minor issues when reviewing ListMultipartUploads:

  • Actually store modtime in upload id, return when listing instead of current time.
  • Use modtime for expiring and skip reading the file info.
  • Consistent upload sorting in listing (since it now actually has the modtime).
  • Try to exclude healing disks.

How to test this PR?

Sending a mint test to minio-go.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

* Actually store modtime in upload id, return when listing instead of current time.
* Use modtime for expiring and skip reading the file info.
* Consistent upload sorting in listing (since it now actually has the modtime).
* Try to exclude healing disks.
klauspost added a commit to klauspost/minio-go that referenced this pull request May 16, 2024
Test listing of known multipart upload objects.

Requires minio/minio#19756 which gives consistent upload sorting.
@klauspost klauspost requested a review from poornas May 17, 2024 08:00
@harshavardhana harshavardhana requested a review from vadmeste May 17, 2024 15:16
@harshavardhana harshavardhana merged commit 3b7747b into minio:master May 17, 2024
harshavardhana pushed a commit to minio/minio-go that referenced this pull request May 29, 2024
Test listing of known multipart upload objects.

Requires minio/minio#19756 which gives consistent upload sorting.
harshavardhana pushed a commit that referenced this pull request Mar 17, 2025
* Store ModTime in the upload ID; return it when listing instead of the current time.
* Use this ModTime to expire and skip reading the file info.
* Consistent upload sorting in listing (since it now has the ModTime).
* Exclude healing disks to avoid returning an empty list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants