← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1904188] Re: Include standard attributes ID in OVO dictionaries to improve the OVN revision numbers operation

 

Reviewed:  https://review.opendev.org/762692
Committed: https://opendev.org/openstack/neutron/commit/78858e6719f621544748adb63a80f87c61ff460b
Submitter: Zuul
Branch:    master

commit 78858e6719f621544748adb63a80f87c61ff460b
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Fri Nov 13 12:21:22 2020 +0000

    Add "standard_attr_id" to some OVO dictionaries
    
    Included standard attributes ID in some OVO dictionaries to improve
    the OVN revision numbers operation. Having this ID, there is no need
    to retrieve it from the database.
    
    The following OVOs have been updated:
    - port
    - network
    - subnet
    - security group
    - security group rule
    - router
    
    Closes-Bug: #1904188
    
    Change-Id: Ia16335a2fc8f9324b9489692c76a73e4ef5bef96


** 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/1904188

Title:
  Include standard attributes ID in OVO dictionaries to improve the OVN
  revision numbers operation

Status in neutron:
  Fix Released

Bug description:
  When a new object is created, updated or deleted, when using the OVN
  backend, an OVN revision number register is created. This
  "OVNRevisionNumbers" register includes the object standard attribute
  ID.

  Instead of retrieving the standard attribute ID for each object, the
  OVO dictionary could contain this information.

  Objects affected: https://github.com/openstack/neutron/blob/5c2193af764ab68d0485d965cc35ef1e230cfb2d/neutron/db/ovn_revision_numbers_db.py#L39-L46
  - network
  - subnet
  - port
  - security group
  - security group rule
  - router
  - router port
  - floating ip

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


References