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

Dan Smith dms at danplanet.com
Thu Nov 13 14:26:18 UTC 2014


> On 12/11/14 19:39, Mike Bayer wrote:
>> lets keep in mind my everyone-likes-it-so-far proposal for reader()
>> and writer(): https://review.openstack.org/#/c/125181/   (this is
>> where it’s going to go as nobody has -1’ed it, so in absence of any
>> “no way!” votes I have to assume this is what we’re going with).
> 
> Dan,
> 
> Note that this model, as I understand it, would conflict with storing
> context in NovaObject.

Why do you think that? As you pointed out, the above model is purely
SQLA code, which is run by an object, long after the context has been
resolved, the call has been remoted, etc.

--Dan

-------------- 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/20141113/83dd77b1/attachment.pgp>


More information about the OpenStack-dev mailing list