[ovs-dev] [PATCH] ovn-northd: Only run idl loop if something changed.

Thadeu Lima de Souza Cascardo cascardo at redhat.com
Fri Dec 4 01:41:09 UTC 2015


On Thu, Dec 03, 2015 at 05:11:49PM -0800, Joe Stringer wrote:
> Before refactoring the main loop to reuse ovsdb_idl_loop_* functions, we
> would use a sequence to see if anything changed in NB database to
> compute and notify the SB database, and vice versa. This logic got
> dropped with the refactor, causing a testsuite failure in the ovn-sbctl
> test. Reintroduce the IDL sequence number checking.
> 
> Fixes: 331e7aefe1c6 ("ovn-northd: Refactor main loop to use ovsdb_idl_loop_*
> functions")
> Suggested-by: Numan Siddique <nusiddiq at redhat.com>
> Signed-off-by: Joe Stringer <joe at ovn.org>
> ---
>  ovn/northd/ovn-northd.c | 14 ++++++++++++--
>  1 file changed, 12 insertions(+), 2 deletions(-)
> 

I have this problem with the testsuite. This patch fixes it for me. Thanks!

Tested-by: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>



More information about the dev mailing list