diff options
| author | Boris Pavlovic <boris@pavlovic.me> | 2013-02-18 23:51:57 +0400 |
|---|---|---|
| committer | Boris Pavlovic <boris@pavlovic.me> | 2013-03-26 09:05:59 +0400 |
| commit | 7f185dff87a939f7a8ae8248528d0957dce7bc81 (patch) | |
| tree | c99152795ad8354bb8fe47baf284867283abf9e4 /bin/stack | |
| parent | 338714c0dbe5db5cda70069ba2abf15887ba5079 (diff) | |
| download | nova-7f185dff87a939f7a8ae8248528d0957dce7bc81.tar.gz nova-7f185dff87a939f7a8ae8248528d0957dce7bc81.tar.xz nova-7f185dff87a939f7a8ae8248528d0957dce7bc81.zip | |
Remove race condition (in InstanceTypes)
Soft delete all duplicate rows with the same name except one with
the biggest value in `id` column.
Soft delete all duplicate rows with the same flavorid except one with
the biggest value in `id` column.
Create UC on columns (name, deleted) and (flavorid, deleted)
Replace Select then Insert -> Try to Insert.
blueprint db-enforce-unique-keys
Change-Id: If66d2f1387c2b2748784bf7ac9746b8d755b70a9
Diffstat (limited to 'bin/stack')
0 files changed, 0 insertions, 0 deletions
