cinder/releasenotes/notes/bug-1587376-fix-manage-resource-quota-issue-78f59f39b9fa4762.yaml
TommyLike e72f0fdf26 Handle quota in 2 phases when managing resource
Cinder would commit quota twice when managing resource
in a clean environment that the corresponding
'quota_usage' record is empty. This is all because of
we create db entity before reservation, hence the SYNC
mechanism would refresh new record into quota_usage
before actually reserved.

This patch fix this issue by introducing 2 phases
reserve&commit, the latter only intends to update
the actual size.

Closes-Bug: #1587376
Change-Id: I79940e534ec03f2d327e8a7e14e45bc93ae41b0c
2017-11-23 01:18:02 +00:00

5 lines
150 B
YAML

---
fixes:
- Fix the bug that Cinder would commit quota twice in a clean environment
when managing volume and snapshot resource (Bug #1587376).