Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Nothing prevents that from happening. That is part of the eventual consistency model of swift. Understanding this is very important to writing good clients for swift (or any eventually consistent system).

However, if you ABSOLUTELY MUST HAVE the very newest data every time, you can add an "X-Newest: true" header to your request, and the proxy will query all three replicas and return the one with the newest timestamp. Note, however, that this will cause the result to be slower that if the x-newest header is not used.