e72f0fdf26
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
5 lines
150 B
YAML
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).
|