[openstack-dev] [OpenStack][Swift] how does swift update obj count of container or account?

2013-10-22 Thread Gareth
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

Re: [openstack-dev] [OpenStack][Swift] how does swift update obj count of container or account?

2013-10-22 Thread Alex Yang
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

Re: [openstack-dev] [OpenStack][Swift] how does swift update obj count of container or account?

2013-10-22 Thread Gareth
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

Re: [openstack-dev] [OpenStack][Swift] how does swift update obj count of container or account?

2013-10-22 Thread Alex Yang
I think you can try it again with a clean environment. 2013/10/22 Gareth academicgar...@gmail.com 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