Skip to content

minio multipart upload throws an exception, but sdk donot catch and throws it #1594

@goyjy

Description

@goyjy

【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
image

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.
image

【expectation】
Error message for multipart upload failure can be thrown

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions