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

Bug #1904188 reported by Rodolfo Alonso
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Wishlist
Rodolfo Alonso

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

Changed in neutron:
importance: Undecided → Wishlist
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/762692

Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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

commit 78858e6719f621544748adb63a80f87c61ff460b
Author: Rodolfo Alonso Hernandez <email address hidden>
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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 18.0.0.0rc1

This issue was fixed in the openstack/neutron 18.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.