glance/glance
Edward Hope-Morley 51ecc8016a Adds guard against upload contention
Protect against concurrent image uploads by allowing the
initial request to proceed and succeed and subsequent
concurrent requests to fail.

We now allow the upload activation to specify what state
it expects to transition to 'active' from. If by the time
the db is updated the transition has already occured i.e.
another upload has succeeded, the upload will fail and data
will be cleaned up.

Fixes: bug 1241025
Change-Id: Ie532b61484bec660910fb9a37429397bde8ef11f
2013-12-19 14:26:40 +00:00
..
api Adds guard against upload contention 2013-12-19 14:26:40 +00:00
cmd remove hardcode of usage 2013-12-08 12:22:03 -06:00
common Adds guard against upload contention 2013-12-19 14:26:40 +00:00
db Adds guard against upload contention 2013-12-19 14:26:40 +00:00
domain Merge "V2: disallow image format update for active status" 2013-12-17 07:27:22 +00:00
image_cache Enable F40X checking 2013-11-27 18:15:48 +02:00
locale Imported Translations from Transifex 2013-11-23 06:04:15 +00:00
openstack Migrate to oslo.messaging 2013-12-04 09:05:51 +01:00
quota Fixes HTTP 500 when updating image with locations for V2 2013-12-18 10:12:24 +08:00
registry Adds guard against upload contention 2013-12-19 14:26:40 +00:00
store Merge "Fix and enable gating on H702" 2013-12-14 14:49:45 +00:00
tests Adds guard against upload contention 2013-12-19 14:26:40 +00:00
__init__.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 18:29:53 +02:00
context.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 18:29:53 +02:00
gateway.py Add config option to limit image members 2013-12-03 16:05:49 +00:00
notifier.py Migrate to oslo.messaging 2013-12-04 09:05:51 +01:00
schema.py fixes use the fact that empty sequences are false 2013-03-18 14:39:38 +08:00
version.py Migrate to PBR for setup and version code. 2013-08-09 10:32:31 -03:00