Duplicate bucket creation Response in RGW

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I was comparing response of S3 and Ceph RGW for when we try to create
a bucket which already exists for the same account.

S3 (non-default region) throws an error with:
HTTP response code : 409 Conflict
error code : BucketAlreadyOwnedByYou

but on the other hand ceph gives a 200 OK while keeping the original
bucket as it is.

I am thinking to match the functionality of Ceph RGW same as s3
(non-default regions), as the one given by S3 seems more appropriate.

For this, I have added a new error code "BucketAlreadyOwnedByYou"
which will be thrown in the above mentioned
case.

Please give your opinion about it.

Thanks

-- 
HARSHAL GUPTA
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux