Bug 1136653 - [RFE][oslo]: Enable MySQL Connector driver
Summary: [RFE][oslo]: Enable MySQL Connector driver
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: RFEs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Ihar Hrachyshka
QA Contact: Ihar Hrachyshka
URL: https://blueprints.launchpad.net/oslo...
Whiteboard: upstream_milestone_none upstream_defi...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-03 04:12 UTC by RHOS Integration
Modified: 2015-02-09 16:00 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-09 16:00:03 UTC


Attachments (Terms of Use)

Description RHOS Integration 2014-09-03 04:12:22 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/oslo.db/+spec/enable-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):

http://git.openstack.org/cgit/openstack/oslo-specs/plain/specs/juno/enable-mysql-connector.rst

Comment 1 Ihar Hrachyshka 2015-02-09 16:00:03 UTC
The work to support mysql-connector is obsoleted in u/s since the plan is to go forward with pymysql. Closing the bug as not relevant.


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