← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1917866] [NEW] No need to fetch whole network object on port create

 

Public bug reported:

DB plugin checks for network existence during port create:
https://github.com/openstack/neutron/blob/cb64e3a19fdddb3eac593114a482c9dd69be68d5/neutron/db/db_base_plugin_v2.py#L1422

There is no need to fetch the whole net object (which leads to several
heavy DB requests according to OSProfiler stats) when only need to check
net existence.

** Affects: neutron
     Importance: Wishlist
     Assignee: Oleg Bondarev (obondarev)
         Status: New


** Tags: db loadimpact

** Changed in: neutron
     Assignee: (unassigned) => Oleg Bondarev (obondarev)

** Changed in: neutron
   Importance: Undecided => Wishlist

** Tags added: loadimpact

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1917866

Title:
  No need to fetch whole network object on port create

Status in neutron:
  New

Bug description:
  DB plugin checks for network existence during port create:
  https://github.com/openstack/neutron/blob/cb64e3a19fdddb3eac593114a482c9dd69be68d5/neutron/db/db_base_plugin_v2.py#L1422

  There is no need to fetch the whole net object (which leads to several
  heavy DB requests according to OSProfiler stats) when only need to
  check net existence.

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


Follow ups