Open goyjy opened 11 hours ago
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?
What error does the server throw to the client? If the server sends success, nothing can be done at client side.
The process is like this: 1、Java sdk upload object parts; 2、The minio server returned error code 400 because "Bucket quota exceeded"; 3、Java sdk catch the server-side error and executes the abortMultipartUploadAsync method; 4、The abortMultipartUploadAsync method executes successfully and returns,But the "Bucket quota exceeded" error is not thrown upward.
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 null
response. Will send a fix
【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