diff options
| author | Boris Pavlovic <boris@pavlovic.me> | 2013-03-05 00:58:14 +0400 |
|---|---|---|
| committer | Boris Pavlovic <boris@pavlovic.me> | 2013-05-03 08:55:33 +0400 |
| commit | 6dc7dedaf08de70264a00824dfd35e8e03ffb610 (patch) | |
| tree | df248c7c28a32bf5e5ce44b6348eeffc0a3a5622 /bin/stack | |
| parent | 9559f298127427774c1a9c04574cd7df0d80e37f (diff) | |
| download | nova-6dc7dedaf08de70264a00824dfd35e8e03ffb610.tar.gz nova-6dc7dedaf08de70264a00824dfd35e8e03ffb610.tar.xz nova-6dc7dedaf08de70264a00824dfd35e8e03ffb610.zip | |
Remove race condition (in FloatingIps)
Soft delete all duplicate rows with the same address except one with
the biggest value in `id` column.
Create UC on columns (address, deleted)
Fix floating_ip_create
Replace Select then Insert -> Try to Insert.
Fix floating_ip_bulk_create
Replace get all and locally compare -> Try to Insert
Fix floating_ip_update
If we update floating_ip with existing address, raise
rollback and raise FloatingIpExists
Add missing test for floating_ip_update to duplicate
Fixes bug 1145216
blueprint db-enforce-unique-keys
Change-Id: Idd0c8305ca348700235f757a29fc7998edca576b
Diffstat (limited to 'bin/stack')
0 files changed, 0 insertions, 0 deletions
