ovn-northd: Revert "ovn-northd: Only run idl loop if something changed"
authorNuman Siddique <nusiddiq@redhat.com>
Thu, 4 Feb 2016 14:41:31 +0000 (20:11 +0530)
committerRussell Bryant <russell@ovn.org>
Fri, 5 Feb 2016 15:57:03 +0000 (10:57 -0500)
commit8c0fae89d469220de42106cb62bddda4986b5583
treec8ce090576316b972698621730a93876a3677d69
parenta14b8947fd13d4c587addbffd24eedc7bb48ee2b
ovn-northd: Revert "ovn-northd: Only run idl loop if something changed"

This reverts f20396e051ea4fd623bfc022cc78d9bd52a850e5

f20396e.. was required to fix the failing ovn-sbctl testsuites.
commit fb496f92ca1eeead8760b5cdfd857165f64deadf addresses these failing
test cases in a proper way.

With commit f20396e.. its possible that commit to the southbound db is
delayed. When ovnnb_db_run is called, and if ctx->ovnsb_txn is NULL,
ovnnb_db_run returns immediately without generating the logical flows.
ovnnb_db_run is not called again until the northbound db seqno changes.

Signed-off-by: Numan Siddique <nusiddiq@redhat.com>
Signed-off-by: Russell Bryant <russell@ovn.org>
ovn/northd/ovn-northd.c