Comment 10 for bug 1862178

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/train)

Reviewed: https://review.opendev.org/713281
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=651eb12bec5e5e986bed79f3a5c006c617e79bda
Submitter: Zuul
Branch: stable/train

commit 651eb12bec5e5e986bed79f3a5c006c617e79bda
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue Feb 11 14:09:06 2020 +0000

    Improve VLAN allocations synchronization

    In order to reduce the number of elements retrieved from the DB, this
    patch, before processing the VLAN allocations per physical network,
    deleted those registers belonging to any unconfigured physical network.

    The VLAN registers per physical network are deleted using a bulk delete
    operation, to speed up the process.

    Those missing VLAN registers per network are now created using a bulk
    insert operation, available in the ORM. This bulk operation speeds up
    the sync process.

    Change-Id: I8568e2277e157754aaff87a059a40e34e6a43e2b
    Partial-Bug: #1862178
    (cherry picked from commit 016e7826f165e69c3956375fc3aa8b8d642c9dc9)