[
https://issues.apache.org/jira/browse/HDDS-15608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gargi Jaiswal updated HDDS-15608:
---------------------------------
Fix Version/s: 2.3.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
> Return BucketAlreadyOwnedByYou when the same S3 owner recreates an existing
> bucket
> ----------------------------------------------------------------------------------
>
> Key: HDDS-15608
> URL: https://issues.apache.org/jira/browse/HDDS-15608
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: S3
> Reporter: Gargi Jaiswal
> Assignee: Gargi Jaiswal
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.3.0
>
>
> s3-tests {color:#00875a}{{test_bucket_create_exists}}{color} fails when the
> same S3 client creates a bucket twice. Ozone S3 Gateway always returns 409
> with error code {*}{{BucketAlreadyExists}}{*}.
> AWS S3 expects:
> ||Scenario||HTTP||Error code||
> |Same S3 owner creates a bucket that already
> exists|409|{{BucketAlreadyOwnedByYou}}|
> |Different S3 owner creates a bucket with an existing global
> name|409|{{BucketAlreadyExists}}|
> Add *{{BUCKET_ALREADY_OWNED_BY_YOU}}* to
> {color:#00875a}{{S3ErrorTable}}{color} ({{{}BucketAlreadyOwnedByYou{}}}, HTTP
> 409) and return when same S3 owner creates a bucket that already exists
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]