← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1675910] [NEW] segment event transaction semantics are wrong

 

Public bug reported:

_delete_segments_for_network is currently being called inside of a
transaction, which results in all of the BEFORE/PRECOMMIT/AFTER events
for the segments themselves being inside of a transaction. This makes
them all effectively PRECOMMIT in the database lifecycle which violates
the semantics we've assigned to them.

** 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/1675910

Title:
  segment event transaction semantics are wrong

Status in neutron:
  In Progress

Bug description:
  _delete_segments_for_network is currently being called inside of a
  transaction, which results in all of the BEFORE/PRECOMMIT/AFTER events
  for the segments themselves being inside of a transaction. This makes
  them all effectively PRECOMMIT in the database lifecycle which
  violates the semantics we've assigned to them.

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


Follow ups