182044d628

We observe excessive DB calls to load DistributedPortBindings, We have enabled DVR and have some huge virtual routers with around 60 router interfaces scheduled on around 200 compute nodes. Under such situation, subquery load DistributedPortBinding looks like not a very wise idea, because it is not explicitly used. I glance through the code and have a feeling that ml2_distributed_port_bindings is not used except explicitly called. So IMO it is safe to change it to default lazy load without causing serious regression. Closes-bug: #1973576 Change-Id: Ib2c48bd5ad55e9c754a8e4938e6c5eafacc75dcc
OpenStack Neutron
Neutron is an OpenStack project to provide "network connectivity as a service" between interface devices (e.g., vNICs) managed by other OpenStack services (e.g., Nova).
To learn more about neutron:
- Documentation: https://docs.openstack.org/neutron/latest/
- Features: https://specs.openstack.org/openstack/neutron-specs
- Defects: https://launchpad.net/neutron
- Release notes: https://docs.openstack.org/releasenotes/neutron/index.html
- Source: https://opendev.org/openstack/neutron
Get in touch via email. Use [Neutron] in your subject.
To learn how to contribute, please read the CONTRIBUTING.rst file.
Description
Languages
Python
99.7%
Shell
0.3%