SQLAlchemy session is reused by multiple greenthreads
Bug #1343211 reported by
Kiall Mac Innes
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Designate |
Fix Released
|
Critical
|
Kiall Mac Innes |
Bug Description
The SQLAlchemy session object is reused by multiple greenthreads, this can lead to really bad things happening.
Each (green)thread needs it's own instance of the Session, otherwise multiple concurrent requests may end up interleaved in a single database transaction, or nested transaction.
Changed in designate: | |
status: | Fix Committed → Fix Released |
Changed in designate: | |
milestone: | juno-2 → 2014.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/107644
Review: https:/