[ovs-git] [openvswitch/ovs] f20396: ovn-northd: Only run idl loop if something changed...
GitHub
noreply at github.com
Fri Dec 4 07:07:48 UTC 2015
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: f20396e051ea4fd623bfc022cc78d9bd52a850e5
https://github.com/openvswitch/ovs/commit/f20396e051ea4fd623bfc022cc78d9bd52a850e5
Author: Joe Stringer <joe at ovn.org>
Date: 2015-12-03 (Thu, 03 Dec 2015)
Changed paths:
M ovn/northd/ovn-northd.c
Log Message:
-----------
ovn-northd: Only run idl loop if something changed.
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>
Signed-off-by: Justin Pettit <jpettit at ovn.org>
Tested-by: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>
Acked-by: Ben Pfaff <blp at ovn.org>
More information about the git
mailing list