You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Gargi Jaiswal (Jira)" <ji...@apache.org> on 2025/11/17 07:23:00 UTC

[jira] [Assigned] (HDDS-13740) AbortMultipartUpload to to ignore non-existent keys

     [ https://issues.apache.org/jira/browse/HDDS-13740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gargi Jaiswal reassigned HDDS-13740:
------------------------------------

    Assignee: Gargi Jaiswal

> AbortMultipartUpload to to ignore non-existent keys
> ---------------------------------------------------
>
>                 Key: HDDS-13740
>                 URL: https://issues.apache.org/jira/browse/HDDS-13740
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: S3
>    Affects Versions: 2.1.0
>            Reporter: Wei-Chiu Chuang
>            Assignee: Gargi Jaiswal
>            Priority: Major
>
> Mint failed the following test against the latest master branch:
> {noformat}
> (3/15) Running aws-sdk-php tests ... FAILED in 4 seconds
> {
>   "name": "aws-sdk-php",
>   "function": "abortMultipartupload ( array $params = [] )",
>   "args": {
>     "Bucket": "aws-sdk-php-68e026c53a822",
>     "Object": "obj1"
>   },
>   "duration": "25",
>   "status": "FAIL",
>   "error": "Error executing \"AbortMultipartUpload\" on \"http://host.containers.internal:9878/aws-sdk-php-68e026c53a822/obj1?uploadId=non-existent\"; AWS HTTP error: Client error: `DELETE http://host.containers.internal:9878/aws-sdk-php-68e026c53a822/obj1?uploadId=non-existent` resulted in a `404 Not Found` response:\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Error>\n  <Code>NoSuchUpload</Code>\n  <Message>The specified multipart upload doe (truncated...)\n NoSuchUpload (client): The specified multipart upload does not exist. The upload ID might be invalid, or the multipart upload might have been aborted or completed. - <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Error>\n  <Code>NoSuchUpload</Code>\n  <Message>The specified multipart upload does not exist. The upload ID might be invalid, or the multipart upload might have been aborted or completed.</Message>\n  <Resource>non-existent</Resource>\n  <RequestId>353a42ce-01c2-4914-a567-0f12efbd20b4</RequestId>\n</Error>\n"
> }
> {noformat}
> It looks like if AbortMultipartUpload request is given a non-existent key, it should respond 204 No Content (no exception) instead of 404.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org