yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #86308
[Bug 1930876] Re: "get_reservations_for_resources" execute DB operations without opening a DB context
Reviewed: https://review.opendev.org/c/openstack/neutron/+/794777
Committed: https://opendev.org/openstack/neutron/commit/96b2926671d66e7a1b32cdfec645aa9dd143aa48
Submitter: "Zuul (22348)"
Branch: master
commit 96b2926671d66e7a1b32cdfec645aa9dd143aa48
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date: Fri Jun 4 11:18:53 2021 +0000
Add CONTEXT_READER to "get_reservations_for_resources"
The method executes DB operations outside a DB context and with an
inactive session.
Change-Id: Ifd1c7b99421768dfa9462237e2b1b14af0e68f41
Closes-Bug: #1930876
** 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/1930876
Title:
"get_reservations_for_resources" execute DB operations without opening
a DB context
Status in neutron:
Fix Released
Bug description:
"get_reservations_for_resources" execute DB operations without opening
a DB context. In this case, this method should be decorated with
CONTEXT_READER.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1930876/+subscriptions
References