← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1484343] [NEW] Race conditions for quota_usage tabel

 

Public bug reported:

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.

** Affects: nova
     Importance: Undecided
     Assignee: Zhenyu Zheng (zhengzhenyu)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Zhenyu Zheng (zhengzhenyu)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1484343

Title:
  Race conditions for quota_usage tabel

Status in OpenStack Compute (nova):
  New

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1484343/+subscriptions


Follow ups