We need to audit the quota code and make sure we're only updating quotas when the DB records for the instance update successfully. Soft delete is a little interesting because it needs to update quotas before 'deleting' the DB record. But we then need to make sure a real delete later doesn't update them again.
We need to audit the quota code and make sure we're only updating quotas when the DB records for the instance update successfully. Soft delete is a little interesting because it needs to update quotas before 'deleting' the DB record. But we then need to make sure a real delete later doesn't update them again.
Anyway, I filed this bug yesterday which is some of the problem: https:/ /bugs.launchpad .net/bugs/ 1296414