[openstack-dev] [oslo][oslo.db] MySQL Cluster support

Mike Bayer mbayer at redhat.com
Thu Feb 2 16:24:20 UTC 2017

On 02/02/2017 10:25 AM, Monty Taylor wrote:
> On 02/01/2017 09:33 PM, Octave J. Orgeron wrote:
>> Hi Folks,
>> I'm working on adding support for MySQL Cluster to the core OpenStack
>> services. This will enable the community to benefit from an
>> active/active, auto-sharding, and scale-out MySQL database. My approach
>> is to have a single configuration setting in each core OpenStack service
>> in the oslo.db configuration section called mysql_storage_engine that
>> will enable the logic in the SQL Alchemy or Alembic upgrade scripts to
>> handle the differences between InnoDB and NDB storage engines
>> respectively. When enabled, this logic will make the required table
>> schema changes around:
>>   * Row character length limits 65k -> 14k
>>   * Proper SQL ordering of foreign key, constraints, and index operations
>>   * Interception of savepoint and nested operations
>> By default this functionality will not be enabled and will have no
>> impact on the default InnoDB functionality. These changes have been
>> tested on Kilo and Mitaka in previous releases of our OpenStack
>> distributions with Tempest. I'm working on updating these patches for
>> upstream consumption. We are also working on a 3rd party CI for
>> regression testing against MySQL Cluster for the community.
>> The first change set is for oslo.db and can be reviewed at:
>> https://review.openstack.org/427970
> Yay!
> (You may not be aware, but there are several of us who used to be on the
> MySQL Cluster team who are now on OpenStack. I've been wanting good NDB
> support for a while. So thank you!)

as I noted on the review it would be nice to have some specifics of how 
this is to be accomplished as the code review posted doesn't show 
anything of how this would work.

> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

More information about the OpenStack-dev mailing list