Hello,

I've some questions about the handling of concurrent requests by Swift.
Any help would be great:)


If I understand correctly, a PUT request on swift-proxy will be transmitted to at least half the storage nodes plus one, before returning the response. A subsequent GET request should have an updated version (because it also make the GET request to several storage nodes ?), but the listing is not immediately up-to-date.

Now, I wonder what happens when two PUT requests with 'If-Match' headers are executed at the same time. The 'If' header is active, and one of the two requests is rejected ? Or the header is ignored, and the request with the last timestamp wins ?


I search a way to ensure I can't lose a version of the files without noticing it.
I'll take any idea.


Thanks all!
--
Kévin Bernard-Allies

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to