Kazuhiro MIYAHARA e4d326b5a7 Fix conflict SLO reponse
This patch fixes Swift to respond "409 Conflict"
when a segment object path of the manifest on PUT SLO
is same as requested object path. It is because
the request will overwrite the segment and then it
will absolutely cause "409 Conflict" on GET SLO.

e.g.:

request:
PUT "http://hostname/v1/AUTH_account/container/segment_object_00?multipart-manifest=put"

manifest file:
[{"path" : "container/segment_object_00", "etag" : "<etag of segment_object_00>", "size_bytes" : <size of segment_object_00>},
{"path" : "container/segment_object_01", "etag" : "<etag of segment_object_01>", "size_bytes" : <size of segment_object_01>},
{"path" : "container/segment_object_02", "etag" : "<etag of segment_object_02>", "size_bytes" : <size of segment_object_02>}]

Change-Id: I4f4f7b9dbeb6a7c355b801c7e0ae560aa19a70b4
Closes-Bug: 1417936
2015-04-16 11:41:55 -07:00
..
2015-04-15 06:36:06 +00:00
2015-04-16 11:41:55 -07:00
2015-04-14 16:06:24 -07:00
2015-04-14 16:00:37 -07:00