[
https://issues.apache.org/jira/browse/HDDS-9314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stephen O'Donnell resolved HDDS-9314.
-------------------------------------
Fix Version/s: 1.4.0
Resolution: Fixed
> create-bucket on an existing bucket for s3g does not fail
> ---------------------------------------------------------
>
> Key: HDDS-9314
> URL: https://issues.apache.org/jira/browse/HDDS-9314
> Project: Apache Ozone
> Issue Type: Bug
> Components: S3
> Reporter: Tejaskriya Madhan
> Assignee: Tejaskriya Madhan
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.4.0
>
>
> Recreate on bucket should throw BucketAlreadyExists Error.
> But in case of ozone its always return exit code 0 on create-bucket even
> though it exists:
> {code:java}
> $ aws s3api --endpoint http://localhost:9878 create-bucket --bucket
> buckettest
> {
> "Location": "http://localhost:9878/buckettest"
> }
> $ aws s3api --endpoint http://localhost:9878 create-bucket --bucket
> buckettest
> {
> "Location": "http://localhost:9878/buckettest"
> } {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]