[Openstack] [Swift] Container DB update after object PUT

Kuo Hugo tonytkdk at gmail.com
Thu Nov 28 04:31:08 UTC 2013


Proxy sends requests to *three* replicas's object servers simultaneously.
A successful PUT request depends on at least 1/2 replicas were success. Or
Proxy will return PUT failed to user.

If 1/3 replica is not there, the replicator will handle it later.
It won't have any problem with container DB.




+Hugo Kuo+
(+886) 935004793
SwiftStack Inc.


2013/11/28 Shao, Minglong <Minglong.Shao at netapp.com>

>  Hi there,
>
>  After an object server writes an object in the local file system, it
> updates the container DB asynchronously (send a message to insert an entry
> in the object table). But the object server doesn’t really know whether the
> object PUT is considered successful or not because the other two replicas
> could fail. In this case, the container DB could have an entry for an
> object which is not successfully PUT. Can someone shed some light on this?
> Am I missing something?
>
>  Many thanks!
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131128/7820bd46/attachment.html>


More information about the Openstack mailing list