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)
Reviewed: https:/ /review. opendev. org/737252 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=2ba53430f18 41c2c5e741073b5 180799f6225d2d
Committed: https:/
Submitter: Zuul
Branch: stable/ussuri
commit 2ba53430f1841c2 c5e741073b51807 99f6225d2d
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: I5db90fde8e7394 772ec23c6384c71 1096c246621 400d28531e56d21 66141357cb)
Closes-Bug: #1883554
Signed-off-by: Daniel Alvarez <email address hidden>
(cherry picked from commit e09d4d6dd0f6570