manila/manila/db
Valeriy Ponomaryov 3c59630499 Fix quota usages update deleting same share from several API endpoints
It is possible to update quota usages multiple times sending share
deletion request to several API endpoints concurrently.
So, move quota usages update logic that is triggered by share deletion,
to DB functions level, which will be able to be executed only when
share deletion succeded. So, all concurrent requests, that failed to
delete DB record, won't commit quota usages updates.

Change-Id: If7d52e08d00d435f2e26c30654f0d2180b17b81a
Closes-Bug: #1707379
Closes-bug: #1707377
2017-11-21 18:02:01 +08:00
..
migrations Fix 'project_share_type_quotas' DB table unique constraint 2017-10-14 23:22:10 +03:00
sqlalchemy Fix quota usages update deleting same share from several API endpoints 2017-11-21 18:02:01 +08:00
__init__.py Remove vim headers 2014-10-06 15:00:27 +02:00
api.py Fix quota usages update deleting same share from several API endpoints 2017-11-21 18:02:01 +08:00
base.py Reuse 'periodic_task' from oslo_service 2015-07-20 19:38:19 +03:00
migration.py Remove vim headers 2014-10-06 15:00:27 +02:00