[ovs-dev] [PATCH] ovn-nbctl: Daemon mode should retry when IDL connection lost.

Ben Pfaff blp at ovn.org
Fri Feb 22 21:53:02 UTC 2019


On Fri, Feb 15, 2019 at 06:49:52PM -0800, Han Zhou wrote:
> From: Han Zhou <hzhou8 at ebay.com>
> 
> When creating IDL, "retry" was set to false. However, in daemon
> mode, reconnecting upon DB server failure should be transparent
> to user. This even impacts HA mode. E.g. in clustered mode, although
> IDL tries to connect to next server, but at the first retry the
> server fail-over may not be completed yet, and it stops retry after
> N (N = number of remotes) times.
> 
> This patch makes sure in daemon mode retry is set to true so that
> the daemon will automatically retry forever.
> 
> Signed-off-by: Han Zhou <hzhou8 at ebay.com>

Good catch.  Thank you.  I applied this to master and branch-2.11.


More information about the dev mailing list