-
Notifications
You must be signed in to change notification settings - Fork 490
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
minio multipart upload throws an exception, but sdk donot catch and throws it #1594
Comments
What error does the server throw to the client? If the server sends success, nothing can be done at client side. |
@balamurugana Server sent 400 on PutObjectPart. This was caught by the client, which then called AbortMultipartUpload. It seems like successfully aborting swallows the original issue, right? |
The process is like this: When I call java sdk to do multipart upload, java sdk returns success. But in fact the object was not uploaded successfully |
Actually you are not getting exception in this case, but getting |
Fixes minio#1594 Signed-off-by: Bala.FA <[email protected]>
【version】
minio version:RELEASE.2023-01-31T02-24-19Z
minio-java version:8.4.3
【description】
When I did a multipart upload, the multipart upload failed because the bucket's quota was exceeded, but the client did not catch the exception.
minio trace logs

reason for error is "Bucket quota exceeded"
Looking at the source code, we found that when the multipart upload fails, the abortMultipartUploadAsync method needs to be executed, so the multipart upload error will not be thrown.

【expectation】
Error message for multipart upload failure can be thrown
The text was updated successfully, but these errors were encountered: