cinder/cinder/db
Gorka Eguileor d2ec578725 Make c-vol use workers table for cleanup
To be able to support multiple hosts working with the same resources we
have added the workers table to keep track of which host is working with
each specific resource.

This patch makes c-vol service work with this new table by adding
entries on cleanable operations and removing them once these operations
have completed.

Service cleanup on initialization has also been changed to use this new
table so hosts will cleanup only resources from operations they left on
the air and leave any operations that are being processed by other
hosts.

Specs: https://review.openstack.org/236977

Implements: blueprint cinder-volume-active-active-support
Change-Id: I4e5440b8450558add372214fd1a0373ab4ad2434
2016-11-03 10:17:38 +01:00
..
sqlalchemy Make c-vol use workers table for cleanup 2016-11-03 10:17:38 +01:00
__init__.py Enable flake8 H303,H304 checking 2014-04-15 09:16:01 +00:00
api.py Make c-vol use workers table for cleanup 2016-11-03 10:17:38 +01:00
base.py Fix sqlalchemy reuse in multi-backend children 2015-03-12 09:49:48 -06:00
migration.py Compact Liberty database migrations 2016-09-20 13:14:09 -05:00