Comment 5 for bug 1883554

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

Reviewed: https://review.opendev.org/737252
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=2ba53430f1841c2c5e741073b5180799f6225d2d
Submitter: Zuul
Branch: stable/ussuri

commit 2ba53430f1841c2c5e741073b5180799f6225d2d
Author: Daniel Alvarez <email address hidden>
Date: Mon Jun 15 17:17:53 2020 +0200

    [OVN] Avoid unnecessary DB writes during agent liveness check

    As stated in the bug description, there are many writes of the
    agent liveness external_ids into the Chassis table. There was a
    protection to avoid bumping nb_cfg too frequently.

    The same protection is reused to avoid writing into the Chassis
    external_ids.

    This patch reduces the number of transactions to the SB database
    and, therefore, the recomputations that it causes to ovn-controller
    in all nodes.

    Change-Id: I5db90fde8e7394772ec23c6384c711096c246621
    Closes-Bug: #1883554
    Signed-off-by: Daniel Alvarez <email address hidden>
    (cherry picked from commit e09d4d6dd0f6570400d28531e56d2166141357cb)