MySQLDB driver is not eventlet friendly

Bug #1723941 reported by junboli
6
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.

junboli (junboli)
Changed in qinling:
assignee: nobody → junboli (junboli)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to qinling (master)

Fix proposed to branch: master
Review: https://review.openstack.org/512288

Changed in qinling:
status: New → In Progress
junboli (junboli)
Changed in qinling:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.