[Openstack] [Swift] Container DB update after object PUT
Pete Zaitcev
zaitcev at redhat.com
Tue Dec 3 22:01:34 UTC 2013
On Thu, 28 Nov 2013 05:24:35 +0000
"Shao, Minglong" <Minglong.Shao at netapp.com> wrote:
> 1. Proxy server sends three requests to three object servers.
> 2. One object server writes the object successfully, sends an update to the container DB and an “OK” reply to the proxy server. But the other two fail, so they send “failed” to the proxy server.
> 3. The proxy server sends back “failed” to the client because it doesn’t meet the quorum. But the container DB still gets the update to insert an entry of this object.
In addition to Sam's answer, the eventual consistency will be restored
even if we're out of quorum. Only needs 1 object replica surviving.
Note that the client receives a 5xx in such case, but object survives
and its container record does too.
-- Pete
More information about the Openstack
mailing list