cinder/cinder/db/sqlalchemy
Gorka Eguileor bcb33db887 Quota: Fix multiple race conditions
This patch fixes 2 race condition areas and adds a comment on why we are
not fixing another 2.

Both race conditions that we fix could have been fixed with a
"with_for_update", but one of them is more effciently handled doing a
single query update instead of retrieving the data and deleting one by
one each row.

Change-Id: I2900c8b4c06ce1a4c2bd6bb5da5274883f6a01fb
2021-03-30 16:23:10 +02:00
..
migrate_repo Fix quota usage duplicate entries 2021-03-30 16:20:39 +02:00
__init__.py Empty files shouldn't contain copyright nor license 2013-12-26 22:45:17 -06:00
api.py Quota: Fix multiple race conditions 2021-03-30 16:23:10 +02:00
models.py Fix quota usage duplicate entries 2021-03-30 16:20:39 +02:00