yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #87059
[Bug 1942358] Re: Use "objects_exist" in port forwarding plugin
Reviewed: https://review.opendev.org/c/openstack/neutron/+/806962
Committed: https://opendev.org/openstack/neutron/commit/e08b571f04059d8cab973743bf1c926e6070e9da
Submitter: "Zuul (22348)"
Branch: master
commit e08b571f04059d8cab973743bf1c926e6070e9da
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date: Wed Sep 1 17:57:35 2021 +0000
Use "objects_exist" in PortForwardingPlugin
This is a small optimization in
"PortForwardingPlugin._check_floatingip_request". To check the existence
of any OVO, "objects_exist" is the fastest method.
Closes-Bug: #1942358
Change-Id: I5097dbdda5a17d15152c5a6c1a56f5b5037d1f70
** 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/1942358
Title:
Use "objects_exist" in port forwarding plugin
Status in neutron:
Fix Released
Bug description:
This is a small optimization in [1]: instead of retrieving the actual
objects, we can just use "objects_exist". This method will reduce the
DB load and will provide the same functionality needed there.
[1]https://github.com/openstack/neutron/blob/6ae28ca1eba77653c1d42591a535abfcc0ec196c/neutron/services/portforwarding/pf_plugin.py#L177-L180
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1942358/+subscriptions
References