You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/09/20 16:39:00 UTC
[jira] [Updated] (HDDS-9314) create-bucket on an existing bucket for s3g does not fail
[ https://issues.apache.org/jira/browse/HDDS-9314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HDDS-9314:
---------------------------------
Labels: pull-request-available (was: )
> 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
>
> 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org