← Back to team overview

openstack team mailing list archive

Why does object server's Put have a container method?

 

The ObjectController class in objs/server.py contains a container_update
method to update the
Object entry in the Container after an Object has been updated.

Since multiple Object Servers will update the same object this struck me
as curious, surely doing
It in the Proxy Server would be more efficient.

Only in proxy/server.py the _connect_put_node would seem to update the
Container after an
Object has been put in the Proxy Server itself.

Can someone explain the difference between these two sections of code,
and why any of the
work is being done in each Object Server?



Follow ups