← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1199468] Re: Race around info_cache and bw_usage updates

 

This was fixed back on 2013/07/10, so it's in Havana.

** Changed in: nova
       Status: In Progress => Fix Released

-- 
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/1199468

Title:
  Race around info_cache and bw_usage updates

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  info_cache and bw_usage updates have the semantics of updating if
  exists, otherwise creating a new record.

  If two greenthreads call this method, it's possible they'll race and
  both attempt to create new records, resulting in DBDuplicateEntry
  exceptions.

  For both of these cases, first-one-wins appears to be an acceptable
  solution, so we can just swallow the exception.

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