Tejaskriya Madhan created HDDS-9314:
---------------------------------------

             Summary: 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


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]

Reply via email to