3c59630499
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 |
||
---|---|---|
.. | ||
migrations | ||
sqlalchemy | ||
__init__.py | ||
api.py | ||
base.py | ||
migration.py |