[ovs-dev] [PATCH RFC] ovsdb-server: Preserve remotes across crash and restart.

Ben Pfaff blp at nicira.com
Thu Jun 13 16:15:20 UTC 2013


On Thu, Jun 13, 2013 at 08:50:42AM -0700, Gurucharan Shetty wrote:
> On Thu, Jun 13, 2013 at 8:29 AM, Gurucharan Shetty <shettyg at nicira.com>wrote:
> 
> > On Wed, Jun 12, 2013 at 5:10 PM, Ben Pfaff <blp at nicira.com> wrote:
> >
> >> ---
> >> This is unpolished but it shows the approach I have in mind.
> >> Sending out for comments on the approach.
> >>
> > I am fine with the approach. The two negatives I see with this:
> > * If /tmp is cleaned up routinely, we will loose the information. If we
> > decide to put this in /etc/openvswitch, it may look a little dirty when
> > program is abnormally terminated.
> >
> This concern is probably invalid. I don't think there is a possibility that
> a second file with the same name will be created if the first one is
> deleted.

The process doesn't ever try to reopen the file.  The name doesn't
matter.



More information about the dev mailing list