Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ovn-northd: Don't log transaction failures on standby instances.
We still need to try to ovsdb_idl_loop_commit_and_wait() on instances that are in standby mode. That's because they need to try to take the lock. But if they're in standby they won't actually build a transaction json and will return early because they don't own the SB lock. That's reported as an error by ovsdb_idl_loop_commit_and_wait() but we shouldn't act on it. Explicitly force a full recompute when transitioning from "standby" or "paused" to "active". Fixes: 953832e ("ovn-northd: Don't trigger recompute for transactions that are in progress.") Fixes: 4597317 ("northd: Introduce incremental processing for northd") Reported-by: Ilya Maximets <i.maximets@ovn.org> Signed-off-by: Dumitru Ceara <dceara@redhat.com> Acked-by: Numan Siddique <numans@ovn.org> Signed-off-by: Han Zhou <hzhou@ovn.org>
- Loading branch information