yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #62642
[Bug 1675910] Re: segment event transaction semantics are wrong
Reviewed: https://review.openstack.org/429441
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=12d24abba75ab3b926edbac389437bacc23914dd
Submitter: Jenkins
Branch: master
commit 12d24abba75ab3b926edbac389437bacc23914dd
Author: Kevin Benton <kevin@xxxxxxxxxx>
Date: Sun Feb 5 17:56:25 2017 -0800
Delete segments on BEFORE_DELETE instead of PRECOMMIT
Deleting segments results in BEFORE/PRECOMMIT/AFTER events
itself so it shouldn't performed while already inside a transaction
to delete a network.
Closes-Bug: #1675910
Change-Id: I6c8070e1dc2216ea909288ce1133321e8eda1daa
** Changed in: neutron
Status: In Progress => Fix Released
--
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:
Fix Released
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
References