[ovs-dev] [PATCH] ovs-vsctl: Try connecting only once for active connections by default.

Ben Pfaff blp at nicira.com
Fri Mar 15 23:35:48 UTC 2013


On Fri, Mar 15, 2013 at 04:23:34PM -0700, Ansis Atteka wrote:
> >> On Fri, Mar 15, 2013 at 1:37 PM, Ben Pfaff <blp at nicira.com> wrote:
> >> > Until now, ovs-vsctl has kept trying to the database server until it
> >> > succeeded or the timeout expired (if one was specified with --timeout).
> >> > This meant that if ovsdb-server wasn't running, then ovs-vsctl would hang.
> >> > The result was that almost every ovs-vsctl invocation in scripts specified
> >> > a timeout on the off-chance that the database server might not be running.
> >> > But it's difficult to choose a good timeout.  A timeout that is too short
> >> > can cause spurious failures.  A timeout that is too long causes long delays
> >> > if the server really isn't running.
> Looks good to me. Thanks!

Thanks.  I applied this to master.  I want to apply it to branch-1.10
since it solves problems, but I'm going to wait until Monday to see if
there's any fallout from it.



More information about the dev mailing list