cinder/cinder/db
Gorka Eguileor cea54bb544
Ignore migration 127 error on MariaDB
Older MariaDB, and InnoDB with 4K page sizes [1], don't support a text fields
to have more than 767 bytes, which means that we cannot extend the quota_usage
_resource to 300 characters on migration 127.

Since this migration is to cover a corner case, we ignore the exception
during the migration if we are on a MySQL DB engine.

[1]: https://mariadb.com/kb/en/library/innodb-limitations/#page-sizes

Closes-Bug: #1808598
Change-Id: Id990b98f0ac7aaedf48a77ebee2b083fcbdaaee7
2018-12-19 16:14:59 -06:00
..
sqlalchemy Ignore migration 127 error on MariaDB 2018-12-19 16:14:59 -06:00
__init__.py Enable flake8 H303,H304 checking 2014-04-15 09:16:01 +00:00
api.py Transfer snapshots with volumes 2018-07-19 09:42:43 +08:00
base.py Add ability to specify backup driver via class name 2017-10-11 12:59:00 +03:00
migration.py Compact Newton database migrations 2017-09-26 00:32:21 -05:00