Re: [ovs-dev] [PATCH v2 1/2] ovn-controller: Fix busy loop when sb disconnected.

2019-04-03 Thread Numan Siddique
On Wed, Apr 3, 2019 at 10:37 PM Han Zhou wrote: > From: Han Zhou > > In the main loop, if the SB DB is disconnected when there is a pending > transaction, there can be busy loop causing 100% CPU of ovn-controller, > until SB DB is connected again. > > The root cause is that when a transaction is

[ovs-dev] [PATCH v2 1/2] ovn-controller: Fix busy loop when sb disconnected.

2019-04-03 Thread Han Zhou
From: Han Zhou In the main loop, if the SB DB is disconnected when there is a pending transaction, there can be busy loop causing 100% CPU of ovn-controller, until SB DB is connected again. The root cause is that when a transaction is pending, ovsdb_idl_loop_run() will return NULL for ovnsb_idl_