MySQLDB driver is not eventlet friendly
Bug #1723941 reported by
junboli
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qinling |
Invalid
|
Undecided
|
junboli |
Bug Description
Using MySQLdb driver for MySQL is not compatible with greenthreads provided by eventlet library. If we issue an SQL query through it from within a green thread then eventlet dispatcher doesn't switch to another green thread although it is an IO operation.
We need to apply monkey patching to MySQLdb explicitly as it was fixed some time ago but doesn't apply by default.
Changed in qinling: | |
assignee: | nobody → junboli (junboli) |
Changed in qinling: | |
status: | In Progress → Invalid |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/512288
Review: https:/