On Tue, Oct 22, 2013 at 5:33 PM, Alex Yang <alex890...@gmail.com> wrote:

> Hi Gareth:
>
> 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.
>
> 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
>

If I start my services like "swift-init main start"(container-updater will
not be launched), the obj-count of account will be 0? for the reason that
no container-updater reports data to account.
But the truth is not that. The obj-count of account and container is
correct in most of simple cases.


>
>
>
> 2013/10/22 Gareth <academicgar...@gmail.com>
>
>> Hi
>>
>> How does Swift update container object count or account object count
>> after PUT an object? Counting per request or something else?
>>
>> --
>> Gareth
>>
>> *Cloud Computing, OpenStack, Fitness, Basketball*
>> *OpenStack contributor*
>> *Company: UnitedStack <http://www.ustack.com>*
>> *My promise: if you find any spelling or grammar mistakes in my email
>> from Mar 1 2013, notify me *
>> *and I'll donate $1 or ¥1 to an open organization you specify.*
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev@lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
>
> --
>   杨雨
>   Email:       alex890...@gmail.com
> GitHub:       https://github.com/AlexYangYu
>  Weibo:       http://www.weibo.com/alexyangyu
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
Gareth

*Cloud Computing, OpenStack, Fitness, Basketball*
*OpenStack contributor*
*Company: UnitedStack <http://www.ustack.com>*
*My promise: if you find any spelling or grammar mistakes in my email from
Mar 1 2013, notify me *
*and I'll donate $1 or ¥1 to an open organization you specify.*
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to