[ovs-dev] [PATCH 2/2] ovs-ctl.in: Don't stop forwarding while restarting the database.

Ben Pfaff blp at nicira.com
Mon Jul 30 22:46:52 UTC 2012


On Fri, Jul 27, 2012 at 10:12:04PM -0700, Justin Pettit wrote:
> Previously, the force-reload-kmod command would stop forwarding, stop
> the database, restart the database, and then restart forwarding.  If the
> database is large, it can take a while to be read (we've seen as much as
> 10 seconds), which means the switch is not forwarding traffic during
> that time.
> 
> This change stops and starts the database before restarting the
> forwarding path.  This means that ovs-vswitchd will lose its
> connectivity to the database during a force-reload-kmod, but while it
> will complain a little in the logs, it will continue to operate
> properly.
> 
> Signed-off-by: Justin Pettit <jpettit at nicira.com>
> 
> Feature #12643

This looks very straightforward.  Thanks.



More information about the dev mailing list