diff options
| author | Boris Pavlovic <boris@pavlovic.me> | 2013-03-25 00:50:54 +0400 |
|---|---|---|
| committer | Boris Pavlovic <boris@pavlovic.me> | 2013-04-05 02:11:33 +0400 |
| commit | 5248653c7b14a6a01f2d5886d3d5c32d48e6ad34 (patch) | |
| tree | 4811e1988c6791254bab22cbbdabfbfb4234bf56 /nova/openstack | |
| parent | aa81b755287d68b77593371ef24b3d09dbe35ff8 (diff) | |
| download | nova-5248653c7b14a6a01f2d5886d3d5c32d48e6ad34.tar.gz nova-5248653c7b14a6a01f2d5886d3d5c32d48e6ad34.tar.xz nova-5248653c7b14a6a01f2d5886d3d5c32d48e6ad34.zip | |
Remove race condition (in InstanceTypeProjects)
Soft delete all duplicate rows with the same (project_id, instance_type_id)
except one with the biggest value in `id` column.
Create UC on columns (project_id, instance_type_id, deleted)
Add tests for migration
Fix instance_type_access_add method
Replace Select then Insert -> Try to Insert.
blueprint db-enforce-unique-keys
Change-Id: Id70509337e78f3bf778501f2c77aa03263580ef0
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
