Comment 0 for bug 1484343

Revision history for this message
Zhenyu Zheng (zhengzhenyu) wrote : Race conditions for quota_usage tabel

Currently, the quota usage table doesn't contain UniqueConstraint policy. Although it has locks when writing data, but nova-api allows multiple workers. Under extreme circumstance, for example: multiple api workers are trying to read and write the table at the same time, new record may be recorded to the list for the same user and same resources.