glance/glance/db
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
..
registry Adds guard against upload contention 2013-12-19 14:26:40 +00:00
simple Adds guard against upload contention 2013-12-19 14:26:40 +00:00
sqlalchemy Adds guard against upload contention 2013-12-19 14:26:40 +00:00
__init__.py Fix and enable gating on H702 2013-12-11 22:12:11 +01:00
migration.py Add migration.py based on the one in nova. 2013-02-14 10:04:15 -05:00