[openstack-dev] [nova] Consistency, efficiency, and safety of NovaObject.save()

Dan Smith dms at danplanet.com
Thu Nov 13 01:45:06 UTC 2014

> I’m not sure if I’m seeing the second SELECT here either but I’m less
> familiar with what I’m looking at.     compute_node_update() does the
> one SELECT as we said, then it doesn’t look like
> self._from_db_object() would emit any further SQL specific to that
> row.

I don't think you're missing anything. I don't see anything in that
object code, or the other db/sqlalchemy/api.py code that looks like a
second select. Perhaps he was referring to two *queries*, being the
initial select and the following update?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20141112/5de83e1d/attachment.pgp>

More information about the OpenStack-dev mailing list