[openstack-dev] [Glance] Replacing Glance DB code to Oslo DB code.

Ben Nemec openstack at nemebean.com
Tue Aug 20 04:41:51 UTC 2013


 

On 08/19/13 20:34, Joshua Harlow wrote: 

> Just a related question, 
> 
> Oslo 'incubator' db code I think depends on eventlet. This means any code that uses the oslo.db code could/would(?) be dependent on eventlet. 
> 
> Will there be some refactoring there to not require it (useful for projects that are trying to move away from eventlet). 
> 
> https://github.com/openstack/oslo-incubator/blob/master/openstack/common/db/sqlalchemy/session.py#L248 [1]

Glancing through that file, it looks like the greenthread import is only
used for playing nice with other greenthreads. It should be pretty easy
to make it conditional so we don't require it, but will use it if it's
available.

 -Ben 

Links:
------
[1]
https://github.com/openstack/oslo-incubator/blob/master/openstack/common/db/sqlalchemy/session.py#L248
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130819/b4c08036/attachment.html>


More information about the OpenStack-dev mailing list