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.
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.