Skip to content
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

fix: Adds PartNumber validation for CompleteMultipartUploads parts. A… #1075

Merged

Conversation

niksis02
Copy link
Contributor

Fixes #1072
Fixes #1063

Parts should be sorted in ascending order for CompleteMultipartUpload. The PR adds a check to validate the parts order in CompleteMultipartUpload in both posix and azure backends.

S3 has partNumber validation on CompleteMultipartUpload: it should be greater than 1. The PR adds this check.
For the upper limits(10000) it simply returns InvalidPart error as in the gateway.

…dds a check to validate the parts order to be ascending.
@benmcclelland benmcclelland merged commit ff0cf29 into feat/object-integrity-checksums Feb 18, 2025
22 checks passed
@benmcclelland benmcclelland deleted the fix/complete-mp-parts-order branch February 18, 2025 17:51
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.

2 participants