← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1362233] Re: instance_create() DB API method implicitly creates additional DB transactions

 

** Changed in: nova/icehouse
       Status: Fix Committed => 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/1362233

Title:
  instance_create() DB API method implicitly creates additional DB
  transactions

Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack Compute (nova) icehouse series:
  Fix Released

Bug description:
  In DB API code we have a notion of 'public' and 'private' methods. The
  former are conceptually executed within a *single* DB transaction and
  the latter can either create a new transaction or participate in the
  existing one. The whole point is to be able to roll back the results
  of DB API methods easily and be able to retry method calls on
  connection failures. We had a bp
  (https://blueprints.launchpad.net/nova/+spec/db-session-cleanup) in
  which all DB API have been re-factored to maintain these properties.

  instance_create() is one of the methods that currently violates the
  rules of 'public' DB API methods and creates a concurrent transaction
  implicitly.

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


References