Bug 1121849 - [RFE][oslo]: Switch from MySQLdb to MySQL Connector
Summary: [RFE][oslo]: Switch from MySQLdb to MySQL Connector
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: RFEs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact:
URL: https://blueprints.launchpad.net/oslo...
Whiteboard: upstream_milestone_none upstream_defi...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-22 04:11 UTC by RHOS Integration
Modified: 2014-09-27 13:25 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-27 13:25:29 UTC


Attachments (Terms of Use)

Description RHOS Integration 2014-07-22 04:11:02 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/oslo/+spec/switch-to-mysql-connector.

Description:

Current MySQL client library we use (MySQLdb) plays bad with eventlet and may result in db deadlocks [1]. It also blocks execution of other green threads while we're deep in the library code [2]. To avoid those issues, we need to switch to a pure python library with better eventlet support. MySQL Connector is an official mysql python client library and has the needed qualities.

[1]: https://wiki.openstack.org/wiki/OpenStack_and_SQLAlchemy#MySQLdb_.2B_eventlet_.3D_sad
[2]: http://docs.openstack.org/developer/nova/devref/threading.html


Specification URL (additional information):

None

Comment 1 Ihar Hrachyshka 2014-09-27 13:25:29 UTC
The blueprint was superseded by: https://bugzilla.redhat.com/show_bug.cgi?id=1136653


Note You need to log in before you can comment on or make changes to this bug.