All of lore.kernel.org
 help / color / mirror / Atom feed
* Duplicate bucket creation Response in RGW
@ 2015-06-10 12:22 Harshal Gupta
  2015-06-10 18:08 ` Yehuda Sadeh-Weinraub
  0 siblings, 1 reply; 8+ messages in thread
From: Harshal Gupta @ 2015-06-10 12:22 UTC (permalink / raw)
  To: ceph-devel

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-06-18 16:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-10 12:22 Duplicate bucket creation Response in RGW Harshal Gupta
2015-06-10 18:08 ` Yehuda Sadeh-Weinraub
2015-06-11 11:30   ` Harshal Gupta
2015-06-11 16:26     ` Yehuda Sadeh-Weinraub
2015-06-11 21:22       ` Kyle Bader
2015-06-11 23:51         ` Yehuda Sadeh-Weinraub
2015-06-16 20:24           ` Harshal Gupta
2015-06-18 16:50             ` Harshal Gupta

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.