-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 13/11/14 14:26, Dan Smith wrote: >> 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.
Can we guarantee that the lifetime of a context object in conductor is a single rpc call, and that the object cannot be referenced from any other thread? Seems safer just to pass it around. Matt - -- Matthew Booth Red Hat Engineering, Virtualisation Team Phone: +442070094448 (UK) GPG ID: D33C3490 GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlRkwTMACgkQNEHqGdM8NJBHMwCdF6RpkpFSXitHfGfOmL0Iw/wr f/8AnRxozN/LusnermjbZffmvuyoFub7 =S6KI -----END PGP SIGNATURE----- _______________________________________________ OpenStack-dev mailing list OpenStackfirstname.lastname@example.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev