commit f9bda4b1e439b5e761b445ce6686166eb41a0e45
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed May 12 07:55:06 2021 +0000
Set the default ``Backend.lookup`` timeout to 2 seconds
In order to broadly cover the issue described in the referred bug,
this patch sets a default timeout of 2 seconds in the
``ovs_idl.Backend.lookup`` method.
This timeout should cover most of the situations where the IDL local
cache update is delayed. This patch does not change the default
behavior, except it will not fail if the DB cache is synchronized
within 2 seconds.
If we don't pass the notify handler or the backend does not implement
one, in case of not finding the requested register, the method will
raise like before.
ovsdbapp library is bumped to version 1.10.0 to receive the change
that introduces the active wait in ``Backend.lookup`` and adds the
timeout parameter to the method signature.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/790912 /opendev. org/openstack/ neutron/ commit/ f9bda4b1e439b5e 761b445ce668616 6eb41a0e45
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit f9bda4b1e439b5e 761b445ce668616 6eb41a0e45
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed May 12 07:55:06 2021 +0000
Set the default ``Backend.lookup`` timeout to 2 seconds
In order to broadly cover the issue described in the referred bug, idl.Backend. lookup` ` method.
this patch sets a default timeout of 2 seconds in the
``ovs_
This timeout should cover most of the situations where the IDL local
cache update is delayed. This patch does not change the default
behavior, except it will not fail if the DB cache is synchronized
within 2 seconds.
If we don't pass the notify handler or the backend does not implement
one, in case of not finding the requested register, the method will
raise like before.
ovsdbapp library is bumped to version 1.10.0 to receive the change
that introduces the active wait in ``Backend.lookup`` and adds the
timeout parameter to the method signature.
Change-Id: Ib40eabd6a8e9d5 9896e0e20383d80 61eb4b5c710
Related-Bug: #1922934