<div dir="ltr">Hi Gareth:<div><br></div><div>The process of update object count to container db is synchronized. After the DiskFile finish writing the data to disk, the object-server will make a request to container servers and update the object count. If the request failed, the request will be serialized on the disk, and the object-update will update it to container servers asynchronously.</div>

<div><br></div><div>The process of update object count from container db to account db is asynchronized. The container-updater will loop all the container db files in disk and update the object count the account servers.</div>

<div><br></div><div> </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/22 Gareth <span dir="ltr"><<a href="mailto:academicgareth@gmail.com" target="_blank">academicgareth@gmail.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi<div><br></div><div>How does Swift update container object count or account object count after PUT an object? Counting per request or something else?<span class="HOEnZb"><font color="#888888"><br clear="all">

<div><br></div>-- <br><div dir="ltr"><font color="#444444">Gareth</font><div>
<font color="#444444"><br></font><div><i><font color="#444444">Cloud Computing, OpenStack, Fitness, Basketball</font></i></div><div><i><font color="#666666">OpenStack contributor</font></i></div><div><i><font color="#666666">Company: <a href="http://www.ustack.com" target="_blank">UnitedStack</a></font></i></div>


<div><i><font color="#999999">My promise: if you find any spelling or grammar mistakes in my email from Mar 1 2013, notify me </font></i></div><div><i><font color="#999999">and I'll donate $1 or ¥1 to an open organization you specify.</font></i></div>


</div></div>
</font></span></div></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">  杨雨<div>  Email:       <a href="mailto:alex890714@gmail.com" target="_blank">alex890714@gmail.com</a><div>GitHub:       <a href="https://github.com/AlexYangYu" target="_blank">https://github.com/AlexYangYu</a></div>

<div> Weibo:       <a href="http://www.weibo.com/alexyangyu" target="_blank">http://www.weibo.com/alexyangyu</a></div></div></div>
</div>