nova/nova/db
Ed Leafe 1c36b645e1 add consumers generation field
In order to prevent races where two different processes can try to write
the allocations for a consumer, we are adding a 'generation' column to
the consumers table. This will be incremented each time a consumer's
allocations change, and allocation requests whose generation doesn't
match the current value will be rejected.

Blueprint: add-consumer-generation
Change-Id: Ia247f0783c5bbd172aafbfd86372fabeeef557c3
2018-06-12 15:27:57 -04:00
..
sqlalchemy add consumers generation field 2018-06-12 15:27:57 -04:00
__init__.py Remove vi modelines 2014-02-03 14:19:44 +00:00
api.py Expose instance_get_all_uuids_by_host() from DB API and use it 2018-05-18 14:36:12 -07:00
base.py conf: Remove 'db_driver' config opt 2018-03-16 17:23:16 +00:00
constants.py Move db MAX constants to own file 2018-03-01 11:09:29 +00:00
migration.py Manage db sync command for cell0 2016-08-22 18:53:45 +03:00