Mike Bayer wrote:
>
>
> Doug Hellmann wrote:
>
>>> My question is then how is it that such an architecture would be
>>> possible,
>>> that Cinder’s service starts up without greenlets yet allows
>>> greenlet-based
>>> requests to come in before this critical task is complete? Shouldn’t the
Doug Hellmann wrote:
>> My question is then how is it that such an architecture would be
>> possible,
>> that Cinder’s service starts up without greenlets yet allows
>> greenlet-based
>> requests to come in before this critical task is complete? Shouldn’t the
>> various oslo systems be providin
On Tue, Feb 17, 2015, at 11:17 AM, Mike Bayer wrote:
>
>
> Doug Hellmann wrote:
>
> >>
> >> So I’m not really sure what’s going on here. Cinder seems to have some
> >> openstack greenlet code of its own in
> >> cinder/openstack/common/threadgroup.py, I don’t know the purpose of this
> >> co
Mike Bayer wrote:
>
> I haven’t confirmed this yet today but based on some greenlet research as
> well as things I observed with PDB yesterday, my suspicion is that Cinder’s
> startup code runs in a traditional thread, at the same time the service is
> allowing connections to come in via green
Doug Hellmann wrote:
>>
>> So I’m not really sure what’s going on here. Cinder seems to have some
>> openstack greenlet code of its own in
>> cinder/openstack/common/threadgroup.py, I don’t know the purpose of this
>> code. SQLAlchemy’s connection pool has been tested a lot with eventlet
>>
On Mon, Feb 16, 2015, at 07:50 PM, Mike Bayer wrote:
> hi all -
>
> I’ve been researching this cinder issue
> https://bugs.launchpad.net/cinder/+bug/1417018 and I’ve found something
> concerning.
>
> Basically there’s a race condition here which is occurring because a
> single MySQL connection
hi all -
I’ve been researching this cinder issue
https://bugs.launchpad.net/cinder/+bug/1417018 and I’ve found something
concerning.
Basically there’s a race condition here which is occurring because a single
MySQL connection is shared between two green threads. This occurs while Cinder
is d