[ovs-dev] [PATCH 2/2] ovs-ctl.in: Don't stop forwarding while restarting the database.
Justin Pettit
jpettit at nicira.com
Mon Jul 30 22:48:32 UTC 2012
On Jul 30, 2012, at 3:46 PM, Ben Pfaff <blp at nicira.com> wrote:
> 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.
Thanks for the reviews. I pushed the series.
--Justin
More information about the dev
mailing list