← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1540844] [NEW] ML2's assumptions about transactions should be explicit

 

Public bug reported:

The create/update/delete of the core resource in ML2 all assume that
they will not be called inside of a transaction because they notify
drivers with a postcommit call before returning. Calling ML2 with a
session already in a transaction leads to unexpected behavior (e.g. no
notifications to driver on a rollback) so we should enforce this
assumption in code.

** Affects: neutron
     Importance: Undecided
     Assignee: Kevin Benton (kevinbenton)
         Status: In Progress

** Changed in: neutron
     Assignee: (unassigned) => Kevin Benton (kevinbenton)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1540844

Title:
  ML2's assumptions about transactions should be explicit

Status in neutron:
  In Progress

Bug description:
  The create/update/delete of the core resource in ML2 all assume that
  they will not be called inside of a transaction because they notify
  drivers with a postcommit call before returning. Calling ML2 with a
  session already in a transaction leads to unexpected behavior (e.g. no
  notifications to driver on a rollback) so we should enforce this
  assumption in code.

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


Follow ups